Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthPost ¶
func AuthPost(f http.HandlerFunc, path string, payload string, secret string) (status int, err error)
The AuthPost function calls the provided fucntion, f, to POST the given payload to the server (directly, without having to start up an actual web server) and provides a secret for HMAC checking
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.