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()
Types ¶
type WireguardWatcher ¶
func (*WireguardWatcher) Watch ¶
func (w *WireguardWatcher) Watch()
Click to show internal directories.
Click to hide internal directories.