Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReverseAddr ¶
Taken somewhat from stdlib dnsclient.go
Types ¶
type RecordSet ¶
type RecordSet struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(store RecordStore) (rs *RecordSet)
type RecordStore ¶
type RecordStore interface { PutVal(dnsType uint16, key, val string) error // Put a single key/value type into store. GetAll(dnsType uint16, key string) ([]string, error) // Get all key values DelKey(dnsType uint16, key string) error // Deletes key and all values for a DelVal(dnsType uint16, key, value string) error // Deletes a single value from a key. Deletes key ifthere are no more values Clear() error // Clear all keys from set }
Key/value store used for dns records. keys are unique, but each key has a list of values
Click to show internal directories.
Click to hide internal directories.