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