Documentation ¶
Index ¶
- type WgCtrlClient
- func (c *WgCtrlClient) CheckInterface(iface string) error
- func (c *WgCtrlClient) Close(iface string) error
- func (c *WgCtrlClient) CloseAll() error
- func (c *WgCtrlClient) DownInterface(iface string) error
- func (c *WgCtrlClient) Init() error
- func (c *WgCtrlClient) UpInterface(iface string) error
- func (c *WgCtrlClient) UpdateConfig(iface string, replacePeers bool) error
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
Click to show internal directories.
Click to hide internal directories.