Documentation ¶ Index ¶ func GetDefaultInterfaceName() string func Update(name string) error type ErrorHandler func (e ErrorHandler) NewError(ctx context.Context, err error) type Handler func New() (*Handler, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetDefaultInterfaceName ¶ added in v0.2.0 func GetDefaultInterfaceName() string func Update ¶ func Update(name string) error Types ¶ type ErrorHandler ¶ type ErrorHandler struct { } func (ErrorHandler) NewError ¶ func (e ErrorHandler) NewError(ctx context.Context, err error) type Handler ¶ type Handler struct { Monitor tun.DefaultInterfaceMonitor } func New ¶ func New() (*Handler, error) Source Files ¶ View all Source files monitor.go Click to show internal directories. Click to hide internal directories.