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
func (*Client) Ready ¶ added in v1.12.0
Ready blocks until the client has an active connection to the server, returning false if the context is cancelled or the connection wait times out first
type Config ¶
type Config struct {
Fingerprint string
Auth string
KeepAlive time.Duration
MaxRetryCount int
MinRetryInterval time.Duration
MaxRetryInterval time.Duration
Server string
Proxy string
Remotes []string
Headers http.Header
TLS TLSConfig
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
Verbose bool
}
Config represents a client configuration
Click to show internal directories.
Click to hide internal directories.