redis

package
v0.0.0-...-cee1f35 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotExist     = errors.New("member does not exist")
	ErrTokenExpired = errors.New("token has expired")
)

Functions

func NewRepository

func NewRepository(lg *log.Logger, addr, password string,
	flushInt time.Duration) (repository.Repository, error)

NewRedisRepository will create a new connection to a redis server

Types

This section is empty.

Jump to

Keyboard shortcuts

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