Documentation
¶
Index ¶
- func NewAuthoritative(timeout time.Duration, newserver NewServer) *authoritative
- func NewRoundRobin(timeout time.Duration, servs ...types.Nameserver) *roundRobin
- func NewSingle(timeout time.Duration, serv types.Nameserver) *single
- func RootServers(timeout time.Duration, newserver NewServer) []types.Nameserver
- type NewServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthoritative ¶
func NewRoundRobin ¶
func NewRoundRobin(timeout time.Duration, servs ...types.Nameserver) *roundRobin
func RootServers ¶
func RootServers(timeout time.Duration, newserver NewServer) []types.Nameserver
Types ¶
type NewServer ¶
type NewServer func(addr string) types.Nameserver
Click to show internal directories.
Click to hide internal directories.