cache

package
v0.0.0-...-a448e87 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(config *RedisConfig) (*redis.Client, error)

NewConnection return new connection to redis

Types

type RedisConfig

type RedisConfig struct {
	Network  string
	URL      string
	Password string
}

RedisConfig redis connection

func NewRedisConfig

func NewRedisConfig() *RedisConfig

NewDevRedisConfig return new config for connect to redis with cmd go run main.go or docker-compose

Jump to

Keyboard shortcuts

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