Documentation ¶
Index ¶
- type DB
- type NutsDB
- func (nuts NutsDB) CreateDebugDb()
- func (nuts NutsDB) Get(bucket, key string) string
- func (nuts NutsDB) ListBuckets() []string
- func (nuts NutsDB) ListKeys(bucket string) []string
- func (nuts NutsDB) PrefixScan(bucket, prefix string, offset, limit int) []string
- func (nuts NutsDB) PrefixSearchScan(bucket, regex string, offset, limit int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NutsDB ¶
type NutsDB struct {
DbDir string
}
func (NutsDB) CreateDebugDb ¶
func (nuts NutsDB) CreateDebugDb()
CreateDebugDb just creates some non-empty database for debug purposes
func (NutsDB) ListBuckets ¶
ListBuckets returns all buckets in given database
func (NutsDB) PrefixScan ¶
Click to show internal directories.
Click to hide internal directories.