Documentation ¶
Index ¶
Constants ¶
View Source
const CfgDefaultNameserverAddressKey = "dns/listenAddress"
CfgDefaultNameserverAddressKey is the config key for the listen address..
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameServer ¶ added in v1.6.19
type NameServer struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.6.19
func New(instance instance) (*NameServer, error)
New returns a new NameServer module.
func (*NameServer) Manager ¶ added in v1.6.19
func (ns *NameServer) Manager() *mgr.Manager
func (*NameServer) Start ¶ added in v1.6.19
func (ns *NameServer) Start() error
func (*NameServer) States ¶ added in v1.6.19
func (ns *NameServer) States() *mgr.StateMgr
func (*NameServer) Stop ¶ added in v1.6.19
func (ns *NameServer) Stop() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.