Documentation ¶ Index ¶ type Client func New(db *database.Database) *Client func (o *Client) Down(_ ctx.Context) error func (o *Client) Exchange(msg *dns.Msg, addrs []string) (resp *dns.Msg, err error) func (o *Client) ExchangeRandomDNS(msg *dns.Msg) (*dns.Msg, error) func (o *Client) Up(ctx ctx.Context) error func (o *Client) UpgradeNS(ctx context.Context) 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 } func New ¶ func New(db *database.Database) *Client func (*Client) Down ¶ func (o *Client) Down(_ ctx.Context) error func (*Client) Exchange ¶ func (o *Client) Exchange(msg *dns.Msg, addrs []string) (resp *dns.Msg, err error) func (*Client) ExchangeRandomDNS ¶ func (o *Client) ExchangeRandomDNS(msg *dns.Msg) (*dns.Msg, error) func (*Client) Up ¶ func (o *Client) Up(ctx ctx.Context) error func (*Client) UpgradeNS ¶ added in v1.4.0 func (o *Client) UpgradeNS(ctx context.Context) Source Files ¶ View all Source files client.go common.go Click to show internal directories. Click to hide internal directories.