Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisConfiguer ¶
type RedisConfiguer interface {
URI() string
}
type RedisConnection ¶
type RedisConnection struct {
// contains filtered or unexported fields
}
func NewRedisDBConnection ¶
func NewRedisDBConnection() *RedisConnection
func (*RedisConnection) Client ¶
func (rc *RedisConnection) Client() *redis.Client
func (*RedisConnection) Connect ¶
func (rc *RedisConnection) Connect(ctx context.Context, cfg RedisConfiguer)
func (*RedisConnection) Disconnect ¶
func (rc *RedisConnection) Disconnect(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.