param

package
v0.0.0-...-1766363 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsParam

type ArgsParam struct {
	CommParam
	ClientParam
	ServerParam
}
var Args *ArgsParam

type ClientParam

type ClientParam struct {
	Sock5Addr     string
	ServerAddr    string
	ExcludeDomain string
	CaFile        string
	SkipVerify    bool
	TunType       int
	UnixSockTun   string
	TunFd         int
	DnsPort       string
	UdpProxy      int
	MuxNum        int
	LocalDns      int //use local dns
	SmartDns      int //use Smart dns
	TunSmartProxy bool
	Sock5UdpPort  string
	IpFile        string
	AutoStart     bool
}

type CommParam

type CommParam struct {
	Version     string
	Mtu         int
	Password    string
	ConnectTime time.Duration `json:"-"` //=10*time.Second;
	UdpGatePort string
}

type ServerParam

type ServerParam struct {
	Sock5Port    string
	QuicPort     string
	WebPort      string
	CertFile     string
	KeyFile      string
	LocalTunSock string
	SafeDns      string
}

Jump to

Keyboard shortcuts

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