redisx

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2014 License: BSD-2-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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