mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Added PowerDNS as dns provider * Remove unnecessary comments * Some tests * Implemented feedback
15 lines
232 B
Go
15 lines
232 B
Go
package cache
|
|
|
|
import "github.com/mittwald/go-powerdns/pdnshttp"
|
|
|
|
type client struct {
|
|
httpClient *pdnshttp.Client
|
|
}
|
|
|
|
// New creates a new Cache client
|
|
func New(hc *pdnshttp.Client) Client {
|
|
return &client{
|
|
httpClient: hc,
|
|
}
|
|
}
|