redis

package
v0.0.0-...-d675ba8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisClient

func NewRedisClient(conf RedisConf) (c redis.Conn, err error)

Types

type RedisConf

type RedisConf struct {
	Port int    `yaml:"port"`
	Host string `yaml:"host"`
}

func (*RedisConf) Validate

func (c *RedisConf) Validate() (err error)

Jump to

Keyboard shortcuts

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