package
4.0.11
Repository: https://github.com/cloudfoundry/log-cache-cli.git
Documentation: pkg.go.dev

# Functions

NewTokenClient returns a TokenClient given a client and token-generating funtion.

# Structs

A TokenClient wraps an HTTP client to automatically set Authorization headers in requests using the provided function to generate tokens.

# Interfaces

A Client is implemented by the standard library's http.Client and TokenClient.