redis

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) *redis.Client

====================== 业务板块 ======================

func MainDB

func MainDB() *redis.Client

Types

type Instance

type Instance struct {
	Items map[string]redisConn `yaml:"items"`
}

func (*Instance) GetName

func (i *Instance) GetName() string

func (*Instance) Run

func (i *Instance) Run() error

Jump to

Keyboard shortcuts

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