redis

package
v0.0.0-...-faec4b7 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(config *Config) *redis.Client

Connect instantiates a new redis connection with the given configuration

Types

type Config

type Config struct {
	Host     string `yaml:"host" json:"host"`
	Port     int16  `yaml:"port" json:"port"`
	Password string `yaml:"password" json:"password"`
}

Config for the redis

Jump to

Keyboard shortcuts

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