Documentation
¶
Index ¶
- type SqlRedis
- func (sr *SqlRedis) DeleteById(tableName, entityName, redisKeyPrefix string, id int64) (bool, error)
- func (sr *SqlRedis) GetById(tableName, entityName, redisKeyPrefix string, id, expireSeconds int64, ...) (bool, error)
- func (sr *SqlRedis) Insert(tableName, entityName, idFieldName, redisKeyPrefix string, expireSeconds int64, ...) ([]int64, error)
- func (sr *SqlRedis) RedisKeyForEntity(id interface{}, prefix, entityName string) string
- func (sr *SqlRedis) RedisKeyForTotalRows(tableName, redisKeyPrefix string) string
- func (sr *SqlRedis) TotalRows(tableName, redisKeyPrefix string, expireSeconds int64) (int64, error)
- func (sr *SqlRedis) UpdateById(tableName, entityName, redisKeyPrefix string, id int64, ...) ([]*mysql.QueryItem, error)
- func (sr *SqlRedis) UpdateEntity(redisKey string, setItems []*mysql.QueryItem, expireSeconds int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlRedis ¶
func (*SqlRedis) DeleteById ¶
func (*SqlRedis) RedisKeyForEntity ¶
func (*SqlRedis) RedisKeyForTotalRows ¶
func (*SqlRedis) UpdateById ¶
Click to show internal directories.
Click to hide internal directories.