Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Clone(dialer interface{}) (*Client, error)
- func (c *Client) Hosts() []string
- func (c *Client) Lookup(ctx context.Context, domain string) (string, error)
- func (c *Client) LookupHost(ctx context.Context, domain, host string) (string, error)
- func (c *Client) Split(domain string) (name, tld, host string, err error)
- type Dialer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyResponse = errors.New("empty whois response") ErrBadDialer = errors.New("bad dialer") ErrConnectionFailed = errors.New("could not establish connection") ErrTimeout = errors.New("timeout") )
Errors
View Source
var ( ErrDBServerEmpty = errors.New("empty whois server database") ErrWHOISHostNotFound = errors.New("whois host not found") )
Errors
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.