Documentation ¶
Index ¶
- Variables
- func Decode(enc []byte, v interface{}) error
- func DecodeToBytes(enc []byte) ([]byte, error)
- func ErrorAs(err error, target interface{}) bool
- func ErrorIs(err, target error) bool
- func Errorf(format string, a ...interface{}) error
- func GenerateEd25519Keys() (ed25519.PrivateKey, ed25519.PublicKey)
- func NewError(text string) error
Constants ¶
This section is empty.
Variables ¶
Epoch is 01/01/1970.
Functions ¶
func DecodeToBytes ¶
DecodeToBytes decodes a Base64 string using the proper encoding for JWTs.
func GenerateEd25519Keys ¶
func GenerateEd25519Keys() (ed25519.PrivateKey, ed25519.PublicKey)
GenerateEd25519Keys generates a pair of keys for testing purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.