Documentation ¶
Overview ¶
Package cache contains a specialized client for interacting with PowerDNS' "Cache" API.
More information ¶
Official API documentation: https://doc.powerdns.com/authoritative/http-api/cache.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Flush flush a cache-entry by name Flush(ctx context.Context, serverID string, name string) (*FlushResult, error) }
Client defines the interface for Cache operations.
type FlushResult ¶
FlushResult represent the result of a cache-flush.
Click to show internal directories.
Click to hide internal directories.