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 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 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 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
Click to show internal directories.
Click to hide internal directories.