Documentation ¶
Overview ¶
Package wglinux provides internal access to Linux's WireGuard generic netlink interface.
This package is internal-only and not meant for end users to consume. Please use package wgctrl (an abstraction over this package) instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client provides access to Linux WireGuard netlink information.
func New ¶
New creates a new Client and returns whether or not the generic netlink interface is available.
func (*Client) ConfigureDevice ¶
ConfigureDevice implements wginternal.Client.
Click to show internal directories.
Click to hide internal directories.