redis

package
v0.0.0-...-9eaa835 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis_table

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

func Redis

func Redis(ip string, port int, db int, pwd ...string) *Redis_table

func (*Redis_table) Get_proxies

func (r *Redis_table) Get_proxies() string

func (*Redis_table) Hall

func (r *Redis_table) Hall(name string) map[string]string

func (*Redis_table) Hdel

func (r *Redis_table) Hdel(name string, key string) int

func (*Redis_table) Hget

func (r *Redis_table) Hget(name string, key string) string

func (*Redis_table) Hkeys

func (r *Redis_table) Hkeys(name string) []string

func (*Redis_table) Hlen

func (r *Redis_table) Hlen(name string) int

func (*Redis_table) Hset

func (r *Redis_table) Hset(name string, key string, val string) bool

func (*Redis_table) Hvals

func (r *Redis_table) Hvals(name string) []string

Jump to

Keyboard shortcuts

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