Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sign ¶
Sign takes an Hmac (with secret, algorithm, and expected header), and a body, and returns an HTTP header, similar to GitHub and GitLab HMACs for authenticating the body, via HTTP header envelope. see https://tools.ietf.org/html/draft-cavage-http-signatures-10 or a later revision for more details on the proposed RFC specification.
Types ¶
Click to show internal directories.
Click to hide internal directories.