Documentation
¶
Index ¶
- func AddRoute(tunAddr string, tunGw string, tunMask string)
- func CheckTcp(host string, port string) bool
- func CmdHide(name string, arg ...string) *exec.Cmd
- func ConnPipe(src CommConn, dst CommConn, duration time.Duration)
- func ExistStdOutput() bool
- func GenPasswordHead(password string) string
- func GetFreePort() (string, error)
- func GetFreeUdpPort() (string, error)
- func GetGateway() string
- func GetNetworkInfo() ([]lAddr, error)
- func GetUnusedTunAddr() (string, string)
- func InitLog(_logfile string, flag int)
- func IsPublicIP(ip net.IP) bool
- func ReadConf(configFile string) ([]byte, bool, error)
- func Tail(name string, cutLine int) string
- func UniqueId(_len int) string
- type CommConn
- type HttpConn
- type TimeoutConn
- type UdpLimit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistStdOutput ¶
func ExistStdOutput() bool
func GenPasswordHead ¶
func GetFreePort ¶
func GetFreeUdpPort ¶
func GetGateway ¶
func GetGateway() string
func GetNetworkInfo ¶
func GetNetworkInfo() ([]lAddr, error)
func IsPublicIP ¶
Types ¶
type TimeoutConn ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.