Documentation ¶
Overview ¶
Package redisx contains experimental features for Redigo. Features in this package may be modified or deleted at any time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStruct ¶
func AppendStruct(args []interface{}, src interface{}) []interface{}
AppendStruct is deprecated. Use redis.Args{}.AddFlat() instead.
func ScanStruct ¶
func ScanStruct(reply interface{}, dst interface{}) error
ScanStruct is deprecated. Use redis.ScanStruct instead.
ScanStruct scans a reply containing alternating names and values to a struct. The HGETALL and CONFIG GET commands return replies in this format.
ScanStruct uses the struct field name to match values in the response. Use 'redis' field tag to override the name:
Field int `redis:"myName"`
Fields with the tag redis:"-" are ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.