redisgo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisConn = new(redisConn)

Functions

func NewConnection

func NewConnection() error

Types

type Reply

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

func (*Reply) Bool

func (r *Reply) Bool() (bool, error)

func (*Reply) ByteSlices

func (r *Reply) ByteSlices() ([][]byte, error)

func (*Reply) Bytes

func (r *Reply) Bytes() ([]byte, error)

func (*Reply) Error

func (r *Reply) Error() error

func (*Reply) Float64s

func (r *Reply) Float64s() ([]float64, error)

func (*Reply) Int

func (r *Reply) Int() (int, error)

func (*Reply) Int64

func (r *Reply) Int64() (int64, error)

func (*Reply) Int64Map

func (r *Reply) Int64Map() (map[string]int64, error)

func (*Reply) Int64s

func (r *Reply) Int64s() ([]int64, error)

func (*Reply) IntMap

func (r *Reply) IntMap() (map[string]int, error)

func (*Reply) Ints

func (r *Reply) Ints() ([]int, error)

func (*Reply) Positions

func (r *Reply) Positions() ([]*[2]float64, error)

func (*Reply) Result

func (r *Reply) Result() (interface{}, error)

func (*Reply) ScanStruct

func (r *Reply) ScanStruct(obj interface{}) error

obj为一个指针对象

func (*Reply) String

func (r *Reply) String() (string, error)

func (*Reply) StringMap

func (r *Reply) StringMap() (map[string]string, error)

func (*Reply) Strings

func (r *Reply) Strings() ([]string, error)

func (*Reply) Uint64

func (r *Reply) Uint64() (uint64, error)

func (*Reply) Values

func (r *Reply) Values() ([]interface{}, error)

Jump to

Keyboard shortcuts

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