Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct { // The Google Cloud project hosting the datastore ProjectID string // Cloud Datastore entity Kind Kind string // contains filtered or unexported fields }
Datastore uses Google Cloud Datastore to persist dns records
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory is a Memory type that satisfies the Persist interface
type Persist ¶
type Persist interface { // Initialize the namespace Init() error // Get a key's value Get(key string) (string, error) // Set a key's value Set(r record.Record) error // Delete a key Delete(key string) error // Close the connection Close() error // Dump all entries Dump() ([]byte, error) }
Persist provides persistent storage
Click to show internal directories.
Click to hide internal directories.