Documentation ¶
Index ¶
- func Concat(existingHeaders map[string]string, args []string) (string, error)
- func Now(existingHeaders map[string]string, args []string) (string, error)
- func PostFormURLEncoded(existingHeaders map[string]string, args []string) (string, error)
- func SignStringRS256PKCS8(existingHeaders map[string]string, args []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Concat ¶ added in v0.1.2
Concat concatenates the args into a single string, substituting previously defined headers if available.
func PostFormURLEncoded ¶ added in v0.1.2
PostFormURLEncoded sends an HTTP POST request to a given URL with the data provided, returning either the whole response body or a specified JSON element.
func SignStringRS256PKCS8 ¶
SignStringRS256PKCS8 constructs a string from given args (delimited by newlines), signing it with the (possibly passphrase-encrypted) PKCS #8 private key, and returns the signature in base64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.