impl

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNatMap

func NewNatMap() *udpNatMap

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)

func (*KCPServer) Stop

func (c *KCPServer) Stop()

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL