var ErrECDSAVerification … type SigningMethodECDSA … var SigningMethodES256 … var SigningMethodES384 … var SigningMethodES512 … func init() { … } func (m *SigningMethodECDSA) Alg() string { … } // Verify implements token verification for the SigningMethod. // For this verify method, key must be an ecdsa.PublicKey struct func (m *SigningMethodECDSA) Verify(signingString, signature string, key interface{ … } // Sign implements token signing for the SigningMethod. // For this signing method, key must be an ecdsa.PrivateKey struct func (m *SigningMethodECDSA) Sign(signingString string, key interface{ … }