Documentation ¶
Index ¶
- type Engine
- func (e *Engine) Exists(key string) bool
- func (e *Engine) Expire(key string) error
- func (e *Engine) Get(key string) (data []byte, err error)
- func (e *Engine) IsExpired(key string) bool
- func (e *Engine) IsLocked(key string) bool
- func (e *Engine) Lock(key string) error
- func (e *Engine) Put(key string, data []byte, expires time.Time) error
- func (e *Engine) Unlock(key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is the default Redis storage engine
func NewAerospikeStore ¶
NewAerospikeStore creates a new standard Aerospike-backed store
func (*Engine) Get ¶
Get retrieves data from the store based on key, if it exists, else it returns an error
Click to show internal directories.
Click to hide internal directories.