Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KCPServer ¶
type KCPServer struct {
// contains filtered or unexported fields
}
func StartKCPServer ¶
func StartKCPServer(config config.KcptunConfig, crypt string, password string, udpLeakyBuffer *common.LeakyBuffer, tcpTimeoutValue int, udpTimeoutValue int) (ret *KCPServer, err error)
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
func StartProxyServer ¶
func StartProxyServer(config config.ServerConfig) (ret *ProxyServer, err error)
func (*ProxyServer) Stop ¶
func (c *ProxyServer) Stop()
Click to show internal directories.
Click to hide internal directories.