Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Servers dnsyo.ServerList // contains filtered or unexported fields }
Server is responsible for management of the working ServerList and storage of the router
func NewAPIServer ¶
func NewAPIServer(servers dnsyo.ServerList) (api Server)
NewAPIServer sets up the routes an produces a new Server instance with the router assigned.
Click to show internal directories.
Click to hide internal directories.