Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultInterfaceName ¶
func GetDefaultInterfaceName() string
func RegisterCallback ¶ added in v0.12.0
func RegisterCallback(callback tun.DefaultInterfaceUpdateCallback)
func StartMonitor ¶ added in v0.8.0
func StartMonitor() error
func StopMonitor ¶ added in v0.8.0
func StopMonitor() error
Types ¶
type ErrorHandler ¶
type ErrorHandler struct { }
type Handler ¶
type Handler struct {
Monitor tun.DefaultInterfaceMonitor
}
Click to show internal directories.
Click to hide internal directories.