redis

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: BSD-3-Clause Imports: 3 Imported by: 1

README

Redis component for enorith

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionRegister

type ConnectionRegister func() redis.UniversalClient

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) GetConnection

func (m *Manager) GetConnection(name ...string) (redis.UniversalClient, error)

func (*Manager) Register

func (m *Manager) Register(name string, cr ConnectionRegister)

func (*Manager) Use

func (m *Manager) Use(name string) *Manager

Jump to

Keyboard shortcuts

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