Versions in this module Expand all Collapse all v0 v0.7.47 Aug 4, 2026 v0.7.46 Aug 2, 2026 Changes in this version + func DecodeKey(s string) (pri PrivateKey, pub PublicKey, err error) + func EncodeKey(i interface{}) (string, error) + func SignRequest(keyname string, key PrivateKey, req *http.Request, content []byte) + func VerifyRequest(req *http.Request, content []byte, ...) (string, error) + type KeyType int + const Ed25519 + const None + const RSA + type Options struct + CheckTime bool + Headers []string + type PrivateKey struct + Key interface{} + Type KeyType + func (privkey PrivateKey) Sign(msg []byte) []byte + type PublicKey struct + Key interface{} + Type KeyType + func (pubkey PublicKey) Verify(msg []byte, sig []byte) error