db

package
v0.0.0-...-a96ca0c Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() (*redis.Client, error)

Client tries to get first available client from pool, otherwise creates new instance of client

func Release

func Release(client *redis.Client)

Release pushes back client to pool (if number of available clients in the pool is < MaxClients), otherwise closes client

Types

This section is empty.

Jump to

Keyboard shortcuts

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