redis

package
v0.0.0-...-e7df039 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

func New

func New(d int) *Component

func (*Component) Del

func (c *Component) Del(key interface{}) (interface{}, error)

func (*Component) Get

func (c *Component) Get(key interface{}) (interface{}, error)

func (*Component) HDel

func (c *Component) HDel(key string, fields ...string) (interface{}, error)

func (*Component) HExist

func (c *Component) HExist(key, field string) (interface{}, error)

func (*Component) HGet

func (c *Component) HGet(key, field string) (interface{}, error)

func (*Component) HSet

func (c *Component) HSet(key string, values map[string]interface{}) (interface{}, error)

func (*Component) IsExist

func (c *Component) IsExist(key interface{}) (interface{}, error)

func (*Component) Key

func (c *Component) Key(key string) string

func (*Component) Keys

func (c *Component) Keys(pattern interface{}) (interface{}, error)

func (*Component) Set

func (c *Component) Set(key, val interface{}, d ...time.Duration) (interface{}, error)

func (*Component) SetPrefix

func (c *Component) SetPrefix(pfx string) *Component

func (*Component) SetPrefixSeparate

func (c *Component) SetPrefixSeparate(sep string) *Component

Jump to

Keyboard shortcuts

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