Documentation ¶
Index ¶
- Variables
- type NodeCache
- func (nc *NodeCache) Expire(tenantId, space, key string) error
- func (nc *NodeCache) Get(tenantId, space, key string) (data []byte, version int64, expire int64, err error)
- func (nc *NodeCache) Put(tenantId, space, key string, value []byte, expire int64) error
- func (nc *NodeCache) PutCAS(tenantId, space, key string, value []byte, version, expire int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVersionMismatch = errors.New("VERSION MISMATCH") ErrNotFound = errors.New("ERROR NOT FOUND") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.