Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceRuntime ¶
Tap or Tun software interface runtime info
func NewInterfaceRuntime ¶
func NewInterfaceRuntime() *InterfaceRuntime
func (*InterfaceRuntime) GetLocalMainInterfaceIpAddr ¶
func (i *InterfaceRuntime) GetLocalMainInterfaceIpAddr() string
localMainInterfaceIpAddr
func (*InterfaceRuntime) SetLocalMainInterfaceIpAddr ¶
func (i *InterfaceRuntime) SetLocalMainInterfaceIpAddr(newLocalMainInterfaceIpAddr string)
type RuntimeInfo ¶
type RuntimeInfo struct { InterfaceInfo *InterfaceRuntime // contains filtered or unexported fields }
func GetMRuntime ¶
func GetMRuntime() *RuntimeInfo
func (*RuntimeInfo) GetRuntimeOS ¶
func (r *RuntimeInfo) GetRuntimeOS() int
func (*RuntimeInfo) SetRuntimeOS ¶
func (r *RuntimeInfo) SetRuntimeOS()
Click to show internal directories.
Click to hide internal directories.