Versions in this module Expand all Collapse all v3 v3.0.0 Sep 28, 2020 Changes in this version + var ErrInvalidSignature = errors.New("Invalid signature") + var ErrNoBody = errors.New("No body") + var ErrNoSecret = errors.New("No secret provided") + var ErrNoSignature = errors.New("No signature provided") + func CreateSignature(d interface{}, key *rsa.PrivateKey) (string, error) + func JSONAddSpaces(src []byte) []byte + func Marshal(d interface{}) ([]byte, error) + func SignatureVerifierMiddleware(pubKey *rsa.PublicKey) func(h http.Handler) http.Handler + func VerifySignature(d interface{}, signature string, key *rsa.PublicKey) error + func VerifySignatureFromRequest(r *http.Request, key *rsa.PublicKey) error Other modules containing this package github.com/holdatech/gopot github.com/holdatech/gopot/v2 github.com/holdatech/gopot/v4