daemon

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ServicePath = "/etc/init.d/wg-quick-op"

Variables

View Source
var ServiceFile []byte

Functions

func AddService

func AddService()

func Install

func Install()

Install copy binary to /usr/sbin/ (openwrt path)

func RmService

func RmService()

func Serve

func Serve()

func Uninstall

func Uninstall()

Types

type WireguardWatcher added in v0.2.1

type WireguardWatcher struct {
	UpdateCallback func(name string)
	RemoveCallback func(name string)
}

func (*WireguardWatcher) Watch added in v0.2.1

func (w *WireguardWatcher) Watch()

Jump to

Keyboard shortcuts

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