Versions in this module Expand all Collapse all v1 v1.2.10 Aug 26, 2024 Changes in this version + type CmdLine = [][]byte + type DB interface + AfterClientClose func(c redis.Connection) + Close func() + Exec func(client redis.Connection, cmdLine [][]byte) redis.Reply + LoadRDB func(dec *core.Decoder) error + type DBEngine interface + ExecMulti func(conn redis.Connection, watching map[string]uint32, cmdLines []CmdLine) redis.Reply + ExecWithLock func(conn redis.Connection, cmdLine [][]byte) redis.Reply + ForEach func(dbIndex int, cb func(key string, data *DataEntity, expiration *time.Time) bool) + GetDBSize func(dbIndex int) (int, int) + GetEntity func(dbIndex int, key string) (*DataEntity, bool) + GetExpiration func(dbIndex int, key string) *time.Time + GetUndoLogs func(dbIndex int, cmdLine [][]byte) []CmdLine + RWLocks func(dbIndex int, writeKeys []string, readKeys []string) + RWUnLocks func(dbIndex int, writeKeys []string, readKeys []string) + SetKeyDeletedCallback func(cb KeyEventCallback) + SetKeyInsertedCallback func(cb KeyEventCallback) + type DataEntity struct + Data interface{} + type KeyEventCallback func(dbIndex int, key string, entity *DataEntity)