package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev
# Functions
Header returns a header value (typically a Bearer token) to be used in the HTTP 'Authorization' header.
NewClient creates an http.Client for accessing go-discovery services.
NewClientBearer creates an http.Client that adds an Authorization header containing its argument as a bearer token.
# Structs
HeadersTransport is an http.Transport that adds headers to the request.