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
11 lines
284 B
Go
11 lines
284 B
Go
package search
|
|
|
|
import "context"
|
|
|
|
// Client defines method for interacting with the PowerDNS "Search" endpoints
|
|
type Client interface {
|
|
|
|
// ListServers lists all known servers
|
|
Search(ctx context.Context, serverID, query string, max int, objectType ObjectType) (ResultList, error)
|
|
}
|