Documentation ¶
Index ¶
- type DB
- func (db *DB) Close() error
- func (db *DB) Delete(key string) error
- func (db *DB) Exist(key string) bool
- func (db *DB) Get(key string, value interface{}) error
- func (db *DB) Prefix(prefix string, resultType interface{}, ...) error
- func (db *DB) RunGC() error
- func (db *DB) Set(key string, value interface{}) error
- func (db *DB) SetWithTTL(key string, value interface{}, ttl time.Duration) error
- type LogLevel
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
}
DB database
Click to show internal directories.
Click to hide internal directories.