mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-10 07:05:31 +08:00
* Added PowerDNS as dns provider * Remove unnecessary comments * Some tests * Implemented feedback
14 lines
234 B
Go
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,
|
|
}
|
|
}
|