redis

package
v0.0.0-...-39e3969 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(args ...string) *redis.Client

Types

type Option

type Option struct {
	Url      string `yaml:"url"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	DB       int    `yaml:"db"`
}

type RedisStarter

type RedisStarter struct {
}

func (*RedisStarter) GetName

func (r *RedisStarter) GetName() string

func (*RedisStarter) Init

func (r *RedisStarter) Init(config *viper.Viper, args abs.StarterList)

func (*RedisStarter) Instance

func (r *RedisStarter) Instance(args ...interface{}) interface{}

Jump to

Keyboard shortcuts

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