wgwindows

package
v0.0.0-...-0ea3fbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Rendered for windows/amd64

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 WireGuardNT ioctl information.

func New

func New() *Client

New creates a new Client

func (*Client) Close

func (c *Client) Close() error

Close implements wginternal.Client.

func (*Client) ConfigureDevice

func (c *Client) ConfigureDevice(name string, cfg wgtypes.Config) error

ConfigureDevice implements wginternal.Client.

func (*Client) Device

func (c *Client) Device(name string) (*wgtypes.Device, error)

Device implements wginternal.Client.

func (*Client) Devices

func (c *Client) Devices() ([]*wgtypes.Device, error)

Devices implements wginternal.Client.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL