Documentation ¶
Overview ¶
Package wgipamd implements package main logic for the wgipamd server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // TestListener is an optional hook that replaces the wg-dynamic server // listener with the net.Listener created by this function. If nil, the // wg-dynamic default listener is used. TestListener func() (net.Listener, error) // contains filtered or unexported fields }
A Server coordinates the goroutines that handle various pieces of the wgipamd server.
func NewServer ¶
NewServer creates a Server with the input configuration and logger. If ll is nil, logs are discarded.
Click to show internal directories.
Click to hide internal directories.