Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Discovery api.ServiceDiscovery Port uint16 Domain string }
Config represents the DNS server configurations.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represent a DNS server. has config field for port,domain,and client discovery, and the DNS server itself
func (*Server) ListenAndServe ¶
ListenAndServe starts the DNS server
Click to show internal directories.
Click to hide internal directories.