Documentation ¶
Index ¶
- Constants
- func KeepRoutesToDomains(ctx context.Context, tunDevice TunDevice, dnsServer string, ...) error
- func NotifyNetworkAddressesChanges(ctx context.Context) (<-chan any, error)
- func RunClient(ctx context.Context, tun TunDevice, config ClientConfig) error
- func RunServer(ctx context.Context, tun TunDevice, config ServerConfig) error
- func SubscribeSystemEvents() (events <-chan SystemEvent, cancel func())
- type ClientConfig
- type Device
- type ServerConfig
- type TunDevice
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func KeepRoutesToDomains ¶
func SubscribeSystemEvents ¶
func SubscribeSystemEvents() (events <-chan SystemEvent, cancel func())
Types ¶
type ClientConfig ¶
type ServerConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.