repository

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *redis.Pool

Get repo

func GetConn

func GetConn() (conn redis.Conn)

GetConn get a conn from pool select data database

func GetConnToControlDB

func GetConnToControlDB() (conn redis.Conn)

GetConnToControlDB get a conn from pool selecting control database

func GetFromList

func GetFromList(key string) (members []string, err error)

GetFromList is a layer to get members from a list

func GetFromSet

func GetFromSet(key string) (members []string, err error)

GetFromSet is a layer to get members from a set

Types

This section is empty.

Jump to

Keyboard shortcuts

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