redisclient

package
v0.0.0-...-b96bacd Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package redisclient is a minimal wrapper around redis.NewClient

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeNewClient

func MakeNewClient(opts ...*redis.Options) (c *redis.Client, err error)

MakeNewClient makes a redis client. One can pass options. Null options will produce default client. Also, MakeNewClient pings the client and informs us on any error. Note that redis.NewClient does not ping the client so you will not know about error until you start to execute commands

Types

This section is empty.

Jump to

Keyboard shortcuts

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