redis

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterInstance

func ClusterInstance() *redis.ClusterClient

ClusterInstance return the instance of redis.Client

func ClusterProvider

func ClusterProvider() app.ComponentMount

ClusterProvider use for mount to app bootstrap

func Init

func Init(app *app.App) error

Init use for init redis client

func InitCluster

func InitCluster(app *app.App) error

InitCluster init cluster client

func Instance

func Instance() *redis.Client

Instance return the instance of redis.Client

func Provider

func Provider() app.ComponentMount

Provider use for mount to app bootstrap

Types

This section is empty.

Jump to

Keyboard shortcuts

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