Documentation ¶
Index ¶
- Variables
- type RedisHook
- func (rh RedisHook) AfterProcess(_ context.Context, cmd redis.Cmder) error
- func (rh RedisHook) AfterProcessPipeline(_ context.Context, cmds []redis.Cmder) error
- func (rh RedisHook) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (rh RedisHook) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config *_config Cache util.Cache Db *gorm.DB Nats *nats.Conn Scheduler *gocron.Scheduler RequestLogger *zap.Logger ErrorLogger *zap.Logger PanicLogger *zap.Logger )
View Source
var Rdb, LockRdb *redis.Client
Functions ¶
This section is empty.
Types ¶
type RedisHook ¶
type RedisHook struct {
// contains filtered or unexported fields
}
func (RedisHook) AfterProcess ¶
func (RedisHook) AfterProcessPipeline ¶
func (RedisHook) BeforeProcess ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.