cacheledis

package
v2.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StoreRoot = goutil.SelfDir()

StoreRoot ...

Functions

This section is empty.

Types

type LeDis

type LeDis struct {
	// contains filtered or unexported fields
}

LeDis ...

func (*LeDis) CacheInstance

func (l *LeDis) CacheInstance() store.ItfCache

CacheInstance ...

func (*LeDis) Config

func (l *LeDis) Config() *config.Config

func (*LeDis) Constructor

func (l *LeDis) Constructor()

Constructor ...

func (*LeDis) DB

func (l *LeDis) DB() *ledis.DB

func (*LeDis) Delete

func (l *LeDis) Delete(key string) (err error)

Delete ...

func (*LeDis) Get

func (l *LeDis) Get(key string) (data []byte, err error)

Get ...

func (*LeDis) Instance

func (l *LeDis) Instance() *ledis.Ledis

func (*LeDis) New

func (*LeDis) New() *LeDis

New ...

func (*LeDis) Reset

func (l *LeDis) Reset() (err error)

Reset ...

func (*LeDis) Set

func (l *LeDis) Set(key string, data []byte) (err error)

Set ...

func (*LeDis) SetCfg

func (l *LeDis) SetCfg(cfg *config.Config)

func (*LeDis) SetDB

func (l *LeDis) SetDB(db *ledis.DB)

func (*LeDis) SetInc

func (l *LeDis) SetInc(inc *ledis.Ledis)

func (*LeDis) SetInstance

func (l *LeDis) SetInstance(cfg *config.Config) (err error)

SetInstance ...

func (*LeDis) String

func (l *LeDis) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL