Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a client instance
type Config ¶
type Config struct { Fingerprint string `yaml:"fingerprint,omitempty"` Auth string `yaml:"auth,omitempty"` KeepAlive time.Duration `yaml:"keepalive,omitempty"` MaxRetryCount int `yaml:"max-retry-count,omitempty"` MaxRetryInterval time.Duration `yaml:"max-retry-interval,omitempty"` Server string `yaml:"server,omitempty"` Proxy string `yaml:"proxy,omitempty"` Remotes []string `yaml:"remotes,omitempty"` Headers http.Header `yaml:"headers,omitempty"` TLS TLSConfig `yaml:"tls,omitempty"` DialContext func(ctx context.Context, network, addr string) (net.Conn, error) Verbose bool `yaml:"verbose,omitempty"` }
Config represents a client configuration
Click to show internal directories.
Click to hide internal directories.