Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceIpv4Addr ¶
Types ¶
type CliResolver ¶
type CliResolver struct {
// contains filtered or unexported fields
}
func NewCliResolver ¶
func NewCliResolver(ipv4, ipv6, host string) (*CliResolver, error)
func (*CliResolver) Host ¶
func (resolver *CliResolver) Host() string
func (*CliResolver) Name ¶
func (resolver *CliResolver) Name() string
type HttpResolver ¶
type HttpResolver struct {
// contains filtered or unexported fields
}
func NewHttpResolver ¶
func (*HttpResolver) Host ¶
func (resolver *HttpResolver) Host() string
func (*HttpResolver) Name ¶
func (resolver *HttpResolver) Name() string
type InterfaceResolver ¶
type InterfaceResolver struct {
// contains filtered or unexported fields
}
func NewInterfaceResolver ¶
func NewInterfaceResolver(watchedInterface, host string) (*InterfaceResolver, error)
func (*InterfaceResolver) Host ¶
func (resolver *InterfaceResolver) Host() string
func (*InterfaceResolver) Name ¶
func (resolver *InterfaceResolver) Name() string
Click to show internal directories.
Click to hide internal directories.