alookup

package
v1.0.0-RC1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalLookupFactory

type GlobalLookupFactory struct {
	zdns.BaseGlobalLookupFactory
	IPv4Lookup bool
	IPv6Lookup bool
}

Global Factory =============================================================

func (*GlobalLookupFactory) AddFlags

func (s *GlobalLookupFactory) AddFlags(f *flag.FlagSet)

func (*GlobalLookupFactory) Help

func (s *GlobalLookupFactory) Help() string

Command-line Help Documentation. This is the descriptive text what is returned when you run zdns module --help

func (*GlobalLookupFactory) MakeRoutineFactory

func (s *GlobalLookupFactory) MakeRoutineFactory() (zdns.RoutineLookupFactory, error)

type Lookup

type Lookup struct {
	Factory *RoutineLookupFactory
	miekg.Lookup
}

Per Connection Lookup ======================================================

func (*Lookup) DoLookup

func (s *Lookup) DoLookup(name string) (interface{}, zdns.Status, error)

func (*Lookup) DoTargetedLookup

func (s *Lookup) DoTargetedLookup(name, nameServer string) (interface{}, zdns.Status, error)

type Result

type Result struct {
	IPv4Addresses []string `json:"ipv4_addresses,omitempty"`
	IPv6Addresses []string `json:"ipv6_addresses,omitempty"`
}

type RoutineLookupFactory

type RoutineLookupFactory struct {
	miekg.RoutineLookupFactory
	Factory *GlobalLookupFactory
}

Per GoRoutine Factory ======================================================

func (*RoutineLookupFactory) MakeLookup

func (s *RoutineLookupFactory) MakeLookup() (zdns.Lookup, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL