redis

package
v1.0.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() *mongo.Client

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

Types

type Instance

type Instance struct {
	MongoUri       string `yaml:"uri"`
	ConnectTimeout int64  `yaml:"connect_timeout"`
}

func (*Instance) GetName

func (i *Instance) GetName() string

func (*Instance) Run

func (i *Instance) Run() (err error)

Jump to

Keyboard shortcuts

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