Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrResolverNotDetected = errors.New("resolver not detected") ErrNotAvailable = errors.New("not available") )
Functions ¶
Types ¶
type LookupOption ¶
type LookupOption func(*LookupOptions)
type LookupOptions ¶
type LookupOptions struct {
Address string
}
func NewLookup ¶
func NewLookup(opts ...LookupOption) LookupOptions
type Options ¶
func DefaultOptions ¶
func DefaultOptions() Options
type ResolveType ¶
type ResolveType string
const ( LocalResolver ResolveType = "local" ConsulResolver ResolveType = "consul" )
func (ResolveType) String ¶
func (r ResolveType) String() string
Click to show internal directories.
Click to hide internal directories.