MCPcopy
hub / github.com/golang-jwt/jwt / init

Function init

ed25519.go:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21)
22
23func init() {
24 SigningMethodEdDSA = &SigningMethodEd25519{}
25 RegisterSigningMethod(SigningMethodEdDSA.Alg(), func() SigningMethod {
26 return SigningMethodEdDSA
27 })
28}
29
30func (m *SigningMethodEd25519) Alg() string {
31 return "EdDSA"

Callers

nothing calls this directly

Calls 2

RegisterSigningMethodFunction · 0.85
AlgMethod · 0.65

Tested by

no test coverage detected