redis

package module
v0.0.0-...-5e6d5ae Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 4 Imported by: 0

README

redis

redis connection

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

type Redis struct {
	URL, Password, Host, Port, DB string
	Params                        *r.Options
	Client                        *r.Client
}

func (*Redis) Alive

func (redis *Redis) Alive() bool

func (*Redis) Connect

func (redis *Redis) Connect() *r.Client

func (*Redis) Options

func (redis *Redis) Options() *r.Options

Jump to

Keyboard shortcuts

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