Versions in this module Expand all Collapse all v1 v1.1.1 Nov 25, 2024 v0 v0.2.21 Nov 25, 2024 Changes in this version + var DefaultConfig = &Config + var DefaultSalt = "kcp-go" + func BlockCrypt(key, crypt, salt string) (block kcp.BlockCrypt) + func CompStreamConn(conn net.Conn) net.Conn + type Config struct + AckNodelay bool + Crypt string + DSCP int + DataShard int + Interval int + KeepAlive int + Key string + MTU int + Mode string + NoComp bool + NoCongestion int + NoDelay int + ParityShard int + RcvWnd int + Resend int + Signal bool + SmuxBuf int + SmuxVer int + SndWnd int + SnmpLog string + SnmpPeriod int + SockBuf int + StreamBuf int + TCP bool + func ParseFromFile(filename string) (*Config, error) + func (c *Config) Init()