Documentation ¶
Index ¶
- type DB
- func (db *DB) Add(input Node) (err error)
- func (db *DB) Get(path string) (result Node, err error)
- func (db *DB) GetAll(limit, page int) (result []Node, err error)
- func (db *DB) GetAllOlderThan(age time.Time, limit, page int) (result []Node, err error)
- func (db *DB) GetChildren(parentPath string, limit, page int) (result []Node, err error)
- func (db *DB) Remove(path string) (result Node, err error)
- func (db *DB) Update(entry Node) (old Node, err error)
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) Get ¶
Get searches for and returns a the corresponding entry from the database if the entry exists.
func (*DB) GetAllOlderThan ¶
func (*DB) GetChildren ¶
Click to show internal directories.
Click to hide internal directories.