package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev
# Functions
BasicAuth sets username and password for HTTP client.
BearerAuth sets token for HTTP client.
HTTPClient is a functional parameter that sets the internal HTTP client.
NewAuthenticatedClient returns a new client with the specified user security context.
NewBearerClient returns a new client that user bearer token for authentication.
NewClient returns a new client.
WithLocalDialer specifies the dialer to use for connecting to an endpoint if standard dialing fails.
# Constants
CurrentVersion is the current version of the API to use with the client.
# Type aliases
Param defines the API to override configuration on client c.