redis

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisConn

type RedisConn struct {
	ReadRedisConn  *redis.Client
	WriteRedisConn *redis.Client
}

type RedisHandler

type RedisHandler struct {
	Common *RedisConn
	User   *RedisConn
}
var RedisHandlerInstance *RedisHandler

func InitRedis

func InitRedis() (*RedisHandler, error)

InitRedis 初期化する

func NewRedis

func NewRedis() *RedisHandler

NewRedis インスタンスを作成する

Jump to

Keyboard shortcuts

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