Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisPool ¶
type RedisPool struct {
Client *redis.Client
}
func NewRedisPool ¶
func NewRedisPool(ctx context.Context, o RedisPoolOpts) (*RedisPool, error)
NewRedisPool creates a reusable connection across the cic-custodial componenent. Note: Each db namespace requires its own connection pool.
func (*RedisPool) MakeRedisClient ¶
func (r *RedisPool) MakeRedisClient() interface{}
Interface adapter for asynq to resuse the same Redis connection pool.
type RedisPoolOpts ¶
Click to show internal directories.
Click to hide internal directories.