ctrl_client

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WgCtrlClient

type WgCtrlClient struct {
	base_client.WGClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(baseClient *base_client.WGClient) *WgCtrlClient

func (*WgCtrlClient) CheckInterface

func (c *WgCtrlClient) CheckInterface(iface string) error

func (*WgCtrlClient) Close

func (c *WgCtrlClient) Close(iface string) error

func (*WgCtrlClient) CloseAll

func (c *WgCtrlClient) CloseAll() error

func (*WgCtrlClient) DownInterface

func (c *WgCtrlClient) DownInterface(iface string) error

func (*WgCtrlClient) Init

func (c *WgCtrlClient) Init() error

func (*WgCtrlClient) UpInterface

func (c *WgCtrlClient) UpInterface(iface string) error

func (*WgCtrlClient) UpdateConfig

func (c *WgCtrlClient) UpdateConfig(iface string, replacePeers bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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