bind_exporter: github.com/digitalocean/bind_exporter/bind/auto Index | Files

package auto

import "github.com/digitalocean/bind_exporter/bind/auto"

Index

Package Files

auto.go

type Client Uses

type Client struct {
    *bind.XMLClient
}

Client is a client which automatically detects the statistics version of the BIND server and delegates the request to the correct versioned client.

func NewClient Uses

func NewClient(url string, c *http.Client) *Client

NewClient returns an initialized Client.

func (*Client) Stats Uses

func (c *Client) Stats(g ...bind.StatisticGroup) (bind.Statistics, error)

Stats implements bind.Stats.

Package auto imports 4 packages (graph) and is imported by 1 packages. Updated 2016-09-18. Refresh now. Tools for package owners.