redis

package
v0.0.0-...-f999dd2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package redis provides the library to communicate to redis

Index

Constants

This section is empty.

Variables

View Source
var IDLE_TIMEOUT = 240 * time.Second

Functions

func AuthConnect

func AuthConnect(host string, password string, maxactive, maxidle int, options ...redis.DialOption) (*redis.Pool, error)

AuthConnect connects and authenticated with the password

func Connect

func Connect(host string, maxactive, maxidle int, options ...redis.DialOption) (*redis.Pool, error)

Connect initializes the redis connection pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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