redis

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() (func() error, error)

Connect creates a connection to redis

func GetConnection

func GetConnection() *redis.Client

GetConnection returns a previously created connection pool

func NewLinkDao

func NewLinkDao(conn *redis.Client) shortener.LinkDao

NewLinkDao instantiates a dao for Link on redis

Types

This section is empty.

Jump to

Keyboard shortcuts

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