Documentation ¶
Index ¶
- func HawkGet(client HTTPClient, id string, key string, url string) (*http.Response, error)
- func HawkMiddleware(next http.HandlerFunc, credentialStore hawk.CredentialStore, hostPort string) http.HandlerFunc
- func HawkPost(client HTTPClient, id string, key string, url string, body io.Reader) (*http.Response, error)
- func NewCredentialStore(key string) hawk.CredentialStore
- type HTTPClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HawkMiddleware ¶
func HawkMiddleware(next http.HandlerFunc, credentialStore hawk.CredentialStore, hostPort string) http.HandlerFunc
func NewCredentialStore ¶
func NewCredentialStore(key string) hawk.CredentialStore
Types ¶
Click to show internal directories.
Click to hide internal directories.