Documentation ¶
Index ¶
Constants ¶
View Source
const (
Backlog = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BindAddress string RemoteAddress string Timeout time.Duration IdleTimeout time.Duration BaseContext context.Context PSKCallback func([]byte) ([]byte, error) MTU int SkipHelloVerify bool CipherSuites ciphers.CipherList EllipticCurves ciphers.CurveList StaleMode util.StaleMode TimeLimitFunc func() time.Duration AllowFunc func(net.Addr) bool EnableCID bool }
Click to show internal directories.
Click to hide internal directories.