redisx

package
v0.0.0-...-552ec7c Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedis

func NewRedis(c *Config) *redis.Client

Types

type Config

type Config struct {
	Host        string `yaml:"host"`
	Port        int    `yaml:"port"`
	Database    int    `yaml:"database"`
	Password    string `yaml:"password"`
	PoolSize    int    `yaml:"poolSize"`
	MinIdleConn int    `yaml:"minIdleConn"`
}

func (*Config) Url

func (r *Config) Url() string

Jump to

Keyboard shortcuts

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