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 ExistStdOutput() bool
- func GenPasswordHead(password string) string
- func GetFreePort() (string, error)
- func GetFreeUdpPort() (string, error)
- func GetGateway() string
- func GetNetworkInfo() ([]lAddr, error)
- func InitLog(_logfile string, flag int)
- func Tail(name string, cutLine int) string
- func UdpNatDecode(data []byte) (*net.UDPAddr, *net.UDPAddr, error)
- func UdpNatEncode(src *net.UDPAddr, dst *net.UDPAddr) []byte
- func UniqueId(_len int) string
- type CommConn
- type HttpConn
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)
Types ¶
Click to show internal directories.
Click to hide internal directories.