Documentation ¶
Index ¶
Constants ¶
View Source
const ( SSHStartString = "SSH-2" WSStartString = "GET /" // websocket handshake actually is an HTTP GET PeekLength = 5 )
Variables ¶
View Source
var NewClientImpl func(clientConfig config.ClientConfig) common.ClientImpl
Functions ¶
Types ¶
type Config ¶
type Config struct { config.FallbackConfig config.ProxyConfig IsWebSocketListener bool }
type Fallback ¶
type Fallback struct {
// contains filtered or unexported fields
}
func NewFallback ¶
type TimeoutError ¶ added in v0.1.32
type TimeoutError interface {
Timeout() bool
}
Click to show internal directories.
Click to hide internal directories.