Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
Types ¶
type DB ¶
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.