Documentation
¶
Index ¶
Constants ¶
View Source
const ( DialTimeOut = 3 * time.Second SniffTimeOut = 300 * time.Millisecond SmuxGCDuration = 30 * time.Second SmuxMaxAliveDuration = 10 * time.Minute SmuxMaxStreamCnt = 5 // todo add udp buffer size BUFFER_POOL_SIZE = 1024 // support 512 connections BUFFER_SIZE = 20 * 1024 // 20KB the maximum packet size of shadowsocks is about 16 KiB )
View Source
const ( // tcp relay RelayTypeRaw = "raw" RelayTypeMTCP = "mtcp" // ws relay RelayTypeWS = "ws" RelayTypeMWS = "mws" RelayTypeWSS = "wss" RelayTypeMWSS = "mwss" )
relay type
Variables ¶
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.