Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransportWithAuthHeader ¶
func NewTransportWithAuthHeader(token string) http.RoundTripper
NewTransportWithAuthHeader returns middleware that attaches "Authorization: Token <token>" header to every request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.