cfgsync

package
v0.5.40 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Get = daemon.RegisterFeature(New, 20) //nolint:gochecknoglobals

Functions

This section is empty.

Types

type Interface

type Interface struct {
	*daemon.Interface
	// contains filtered or unexported fields
}

func New

func New(i *daemon.Interface) (*Interface, error)

func (*Interface) Close

func (i *Interface) Close() error

func (*Interface) ConfigureWireGuard

func (i *Interface) ConfigureWireGuard() error

func (*Interface) SetDNS

func (i *Interface) SetDNS(svrs []net.IPAddr, domain []string) error

func (*Interface) Start

func (i *Interface) Start() error

func (*Interface) UnsetDNS

func (i *Interface) UnsetDNS() error

Jump to

Keyboard shortcuts

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