redismgr

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cli

func Cli() *libredis.Client

func Del

func Del(k string) error

func Get

func Get(k string, i ...interface{}) (string, error)

func HGet

func HGet(k string, v string) (string, error)

func HGetAll

func HGetAll(k string) (map[string]string, error)

func Hset

func Hset(k string, k2 string, v string) error

func Keys

func Keys(p string, i ...interface{}) ([]string, error)

func PGet

func PGet(p string) (map[string]string, error)

func Pub

func Pub(ch string, msg interface{})

func RawSub

func RawSub(ch ...string) (ret <-chan string, closefn func())

func Set

func Set(k string, v string) error

func Sub

func Sub(ch ...string) (ret <-chan *Msg, closefn func())

Types

type Msg

type Msg struct {
	Chan    string
	Payload string
	Err     error
}

Jump to

Keyboard shortcuts

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