dnscontrol/vendor/github.com/mittwald/go-powerdns/apis/search/client.go
Jan-Philipp Benecke ffd4e46dda
New DNS provider PowerDNS (#748)
* Added PowerDNS as dns provider

* Remove unnecessary comments

* Some tests

* Implemented feedback
2020-05-30 09:54:07 -04:00

14 lines
234 B
Go

package search
import "github.com/mittwald/go-powerdns/pdnshttp"
type client struct {
httpClient *pdnshttp.Client
}
// New creates a new Search client
func New(hc *pdnshttp.Client) Client {
return &client{
httpClient: hc,
}
}