Versions in this module Expand all Collapse all v0 v0.0.1 Jul 9, 2026 Changes in this version + const TAP + const TUN + type Config struct + DeviceType DeviceType + type DevicePermissions struct — linux/amd64 + Group uint + Owner uint + type DeviceType int + type Interface struct + func New(config Config) (ifce *Interface, err error) + func NewTAP(ifName string) (ifce *Interface, err error) + func NewTUN(ifName string) (ifce *Interface, err error) + func (ifce *Interface) IsTAP() bool + func (ifce *Interface) IsTUN() bool + func (ifce *Interface) Name() string + type MacOSDriverProvider int — darwin/amd64 + const MacOSDriverSystem + const MacOSDriverTunTapOSX + type PlatformSpecificParams struct — darwin/amd64, linux/amd64, windows/amd64 + Driver MacOSDriverProvider + MultiQueue bool + Name string + Permissions *DevicePermissions + Persist bool + type PlatformSpecificParams struct — js/wasm