Documentation ¶
Index ¶
- type CacheType
- type LevelDB
- func (l *LevelDB) Begin() (*leveldb.Transaction, error)
- func (l *LevelDB) Close() error
- func (l *LevelDB) Delete(key []byte) error
- func (l *LevelDB) DeleteS(key string) error
- func (l *LevelDB) Get(key []byte) ([]byte, error)
- func (l *LevelDB) GetS(key string) (string, error)
- func (l *LevelDB) Has(key []byte) (bool, error)
- func (l *LevelDB) HasS(key string) (bool, error)
- func (l *LevelDB) Put(key []byte, value []byte) error
- func (l *LevelDB) PutS(key string, value string) error
- func (l *LevelDB) XDecr(key string) (int64, error)
- func (l *LevelDB) XDecrBy(key string, decrement int64) (int64, error)
- func (l *LevelDB) XExpire(key string, seconds int64) error
- func (l *LevelDB) XGet(key string) (string, error)
- func (l *LevelDB) XIncr(key string) (int64, error)
- func (l *LevelDB) XIncrBy(key string, increment int64) (int64, error)
- func (l *LevelDB) XSet(key string, value string) error
- func (l *LevelDB) XSetEx(key string, value string, expires int64) error
- func (l *LevelDB) XTTL(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.