remote

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "r10.1"

'r1' means revision 1

Variables

This section is empty.

Functions

func InitialPMuxConfig added in v0.27.0

func InitialPMuxConfig() *pmux.Config

func ServProxyMuxSession added in v0.27.0

func ServProxyMuxSession(session mux.MuxSession) error

Types

type CipherConfig added in v0.27.0

type CipherConfig struct {
	//Method string
	Key string
}

type HTTP2ServerConfig added in v0.27.2

type HTTP2ServerConfig struct {
	Listen string
	Cert   string
	Key    string
}

type HTTPServerConfig added in v0.27.0

type HTTPServerConfig struct {
	Listen string
}

type KCPServerConfig added in v0.27.0

type KCPServerConfig struct {
	Listen       string
	Mode         string
	MTU          int
	SndWnd       int
	RcvWnd       int
	DataShard    int
	ParityShard  int
	DSCP         int
	AckNodelay   bool
	NoDelay      int
	Interval     int
	Resend       int
	NoCongestion int
	SockBuf      int
}

Config for server

type QUICServerConfig added in v0.27.0

type QUICServerConfig struct {
	Listen string
	Cert   string
	Key    string
}

type ServerConfig

type ServerConfig struct {
	AdminListen    string
	DialTimeout    int
	UDPReadTimeout int
	AllowedUser    []string
	Cipher         CipherConfig
	Log            []string
	TLS            TLServerConfig
	KCP            KCPServerConfig
	QUIC           QUICServerConfig
	HTTP           HTTPServerConfig
	TCP            TCPServerConfig
	HTTP2          HTTP2ServerConfig
}
var ServerConf ServerConfig

func (*ServerConfig) VerifyUser

func (conf *ServerConfig) VerifyUser(user string) bool

type TCPServerConfig added in v0.27.0

type TCPServerConfig struct {
	Listen string
}

type TLServerConfig added in v0.25.0

type TLServerConfig struct {
	Cert   string
	Key    string
	Listen string
}

Directories

Path Synopsis
channel
kcp
tcp

Jump to

Keyboard shortcuts

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