Documentation
¶
Index ¶
- type ALookupModule
- func (aMod *ALookupModule) CLIInit(gc *cli.CLIConf, resolverConfig *zdns.ResolverConfig) error
- func (aMod *ALookupModule) GetDescription() string
- func (aMod *ALookupModule) Help() string
- func (aMod *ALookupModule) Init(ipv4Lookup bool, ipv6Lookup bool)
- func (aMod *ALookupModule) Lookup(r *zdns.Resolver, lookupName string, nameServer *zdns.NameServer) (interface{}, zdns.Trace, zdns.Status, error)
- func (aMod *ALookupModule) NewFlags() interface{}
- func (aMod *ALookupModule) Validate(args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ALookupModule ¶
type ALookupModule struct {
IPv4Lookup bool `long:"ipv4-lookup" description:"perform A lookups for each server"`
IPv6Lookup bool `long:"ipv6-lookup" description:"perform AAAA lookups for each server"`
// contains filtered or unexported fields
}
func (*ALookupModule) CLIInit ¶
func (aMod *ALookupModule) CLIInit(gc *cli.CLIConf, resolverConfig *zdns.ResolverConfig) error
CLIInit initializes the ALookupModule with the given parameters, used to call ALOOKUP from the command line
func (*ALookupModule) GetDescription ¶
func (aMod *ALookupModule) GetDescription() string
func (*ALookupModule) Help ¶
func (aMod *ALookupModule) Help() string
func (*ALookupModule) Init ¶
func (aMod *ALookupModule) Init(ipv4Lookup bool, ipv6Lookup bool)
Init initializes the ALookupModule with the given parameters, used to call ALOOKUP programmatically
func (*ALookupModule) NewFlags ¶
func (aMod *ALookupModule) NewFlags() interface{}
func (*ALookupModule) Validate ¶
func (aMod *ALookupModule) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.