Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Algorithm ¶
type Algorithm int
func GetAlgorithm ¶
GetAlgorithm takes in a string representation of an Algorithm ("ES256" or "HS384") If the provided string does not match a defined algorithm, nil is returned
type SignerOpts ¶
func (SignerOpts) HashFunc ¶
func (s SignerOpts) HashFunc() crypto.Hash
Click to show internal directories.
Click to hide internal directories.