redis

package
v0.0.0-...-d485828 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(config *RedisConfig) *redis.Client

maybe wrap in struct in order to be able to hand out a new client when the config changes

Types

type RedisConfig

type RedisConfig struct {
	Host     string
	Port     uint16
	Password string
	Database uint8
}

Jump to

Keyboard shortcuts

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