package
2.0.0+incompatible
Repository: https://github.com/taskcluster/webhooktunnel.git
Documentation: pkg.go.dev

# Functions

New creates a new Client instance.

# Variables

ErrAuthFailed is returned when authentication with the proxy fails.
ErrBadToken is returned when a usable token can not be generated by the authorizer.
ErrClientClosed is returned from an Accept call when the client is closed.
ErrClientReconnecting is returned when the connection is reconnecting.
ErrRetryFailed is returned when retry attempts fail.
ErrRetryTimedOut is returned when Reconnect() time exceeds MaxElapsedTime.

# Structs

Client is used to connect to a websocktunnel instance and serve content over the tunnel.
Config contains the configuration for a Client.
Error represents an error from the client package.
RetryConfig contains exponential backoff parameters for retrying connections.

# Type aliases

Configurer is a function which can generate a Config object to be used by the client.