redis

package
v0.0.0-...-10d5746 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client = redis.Client

func New

func New(config Config) (*Client, error)

type Config

type Config struct {
	Addr     string `json:"addr" default:"localhost:6379"`
	Password string `json:"password" default:"filharmonic"`
	Database int    `json:"database" default:"0"`
}

Jump to

Keyboard shortcuts

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