Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
Types ¶
type DB ¶
type DB struct { closer.Closer // contains filtered or unexported fields }
func (*DB) DeleteRecord ¶
type Record ¶
type Record struct { RR string `msg:"rr"` Expires int64 `msg:"expires"` // Unix timestamp. Never expires if <= 0 }
func (Record) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Click to show internal directories.
Click to hide internal directories.