Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyNetrcAuth ¶
ApplyNetrcAuth sets the Authorization header on req using .netrc credentials for the request's hostname. When login is "token" (or empty), the password is sent as a Bearer token. Otherwise login and password are sent as Basic Auth.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.