Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kindling ¶
type Kindling interface { // NewHTTPClient returns a new HTTP client that is configured to use kindling. NewHTTPClient() *http.Client }
Kindling is the interface that wraps the basic Dial and DialContext methods for control plane traffic.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is a functional option type that allows us to configure the Client.
func WithDomainFronting ¶
WithDomainFronting is a functional option that enables domain fronting for the Kindling.
func WithLogWriter ¶
WithLogWriter is a functional option that sets the log writer for the Kindling. By default, the log writer is set to os.Stdout. This should be the first option to be applied to the Kindling to ensure that all logs are captured.
func WithPanicListener ¶
WithPanicListener is a functional option that sets a panic listener that should be notified whenever any goroutine panics. We set this with a higher priority so that it is set before any other options that may depend on it.
func WithProxyless ¶
WithProxyless is a functional option that enables proxyless mode for the Kindling such that it accesses the control plane directly using a variety of proxyless techniques.