Versions in this module Expand all Collapse all v1 v1.2.0 Jun 27, 2024 v1.1.1 Jun 15, 2024 Changes in this version + var DefaultSshOptions = &SshOptions + type SshOptions struct + AuthorizedKey string + Password string + PrivateKey string + PublicKey string + User string + func (opts *SshOptions) Update() v1.1.0 Jun 1, 2024 v1.0.0 May 12, 2024 Changes in this version + var DefaultGrpcOptions = &GrpcOptions + var DefaultKcpOptions = &KcpOptions + var DefaultObfsOptions = &ObfsOptions + var DefaultOptions = &defaultOptions + var DefaultQuicOptions = &QuicOptions + var DefaultWsOptions = &WsOptions + type GrpcOptions struct + RevBuffer int + SndBuffer int + func (opts *GrpcOptions) Update() + type KcpOptions struct + AckNoDelay bool + BC kcp.BlockCrypt + Conns int + Crypt string + DataShard int + Dscp int + Interval int + KeepAlive int + Key string + Mode string + Mtu int + Nc int + NoCompress bool + NoDelay int + ParityShard int + Resend int + RevWnd int + SmuxBuf int + SmuxVer int + SndWnd int + SockBuf int + StreamBuf int + func (opts *KcpOptions) Update() + type ObfsOptions struct + Host string + func (opts *ObfsOptions) Update() + type Options interface + Update func() + type QuicOptions struct + Conns int + HandshakeIdleTimeout time.Duration + KeepAlivePeriod time.Duration + MaxIdleTimeout time.Duration + func (opts *QuicOptions) Update() + type TlsMode byte + const MTLS + const None + const TLS + type TlsOptions struct + CAFile string + CertFile string + Hostname string + KeyFile string + Mode TlsMode + func (o *TlsOptions) GetClientTlsConfig() (*tls.Config, error) + func (o *TlsOptions) GetServerTlsConfig() (*tls.Config, error) + type WsOptions struct + Compress bool + Host string + Path string + RevBuffer int + SndBuffer int + UserAgent string + func (opts *WsOptions) Update()