Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func MOBAConfig ¶ added in v0.0.26
func MOBAConfig() Config
type KCP ¶ added in v0.0.26
type KCP struct {
WriteBufSize int
ReadBufSize int
DataShards int
ParityShards int
NoDelay [4]int // nodelay, interval, resend, nc
WindowSize [2]int // sndwnd, rcvwnd
MTU int // MAX MTU for UDP networks
ACKNoDelay bool // ACK immediately
WriteDelay bool // immediate sending
DSCP int // EF (Expedited Forwarding) for low latency
Smux bool
SmuxStreamSize int
KeepAliveInterval time.Duration
KeepAliveTimeout time.Duration
MaxFrameSize int
MaxReceiveBuffer int
}
Click to show internal directories.
Click to hide internal directories.