daemon

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const InitdServicePath = "/etc/init.d/wg-quick-op"
View Source
const SystemdServicePath = "/etc/systemd/system/wg-quick-op.service"

Variables

View Source
var InitdServiceFile []byte
View Source
var SystemdServiceFile []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

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

func (*WireguardWatcher) Watch

func (w *WireguardWatcher) Watch()

Jump to

Keyboard shortcuts

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