redis

package
v0.1.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0 Imports: 3 Imported by: 1

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(o RedisPoolOpts) (*RedisPool, error)

func (*RedisPool) MakeRedisClient

func (r *RedisPool) MakeRedisClient() interface{}

type RedisPoolOpts

type RedisPoolOpts struct {
	DSN string
	// Debug        bool
	// Logg         logg.RedisLogg
	MinIdleConns int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL