dnscontrol/vendor/github.com/mittwald/go-powerdns/apis/cache/interface.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

9 lines
231 B
Go

package cache
import "context"
// Client defines the interface for Cache operations.
type Client interface {
// Flush flush a cache-entry by name
Flush(ctx context.Context, serverID string, name string) (*FlushResult, error)
}