Documentation ¶
Index ¶
- type Client
- func (client *Client) LookupAddr(addr string) ([]string, error)
- func (client *Client) LookupHostname(hostname string) ([]string, error)
- func (client *Client) Retries() uint8
- func (client *Client) SetRetries(retries uint8)
- func (client *Client) SetTimeout(timeout time.Duration)
- func (client *Client) Timeout() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client struct
func (*Client) LookupAddr ¶
LookupAddr (addr)
func (*Client) LookupHostname ¶
LookupHostname (hostname)
func (*Client) SetTimeout ¶
SetTimeout (timeout)
Click to show internal directories.
Click to hide internal directories.