Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Port = flag.Int("p", 80, "specify server port,such as : \"80\"") TLSPort = flag.Int("sp", 443, "specify server tls port,such as : \"443\"") CaCrtFile = flag.String("ca", "./ca.crt", "specify client cert,such as : \"ca.crt\"") CertFile = flag.String("c", "./server.crt", "specify server cert,such as : \"server.crt\"") KeyFile = flag.String("k", "./server.key", "specify server cert key ,such as : \"server.key\"") LogFile = flag.String("l", "", "specify log file ,such as : \"/var/log/KayProxy.log\"") Mode = flag.Int("m", 1, "specify running mode(1:hosts) ,such as : \"1\"") V = flag.Bool("v", false, "display version info") )
Functions ¶
func ValidParams ¶
func ValidParams() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.