Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
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 NewServer ¶
NewServer creates a new instance of a DNS server with the given configurations
func (*Server) ListenAndServe ¶
ListenAndServe starts the DNS server
Source Files
¶
- server.go
Click to show internal directories.
Click to hide internal directories.