rdb

package
v0.0.0-...-9677058 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(ctx context.Context, env util.Environment, g *inject.Graph, rt interface{})

Inject injects dependencies

Types

type RDB

type RDB interface {
	Get(key string) (string, error)
	GetInt(key string) (int64, error)
	GetFloat(key string) (float64, error)
	Set(key string, val string) (string, error)
	LRange(key string, first, last int) ([]string, error)
	RPush(key string, val ...string) (int64, error)
	IncrBy(key string, val int64) (int64, error)
	IncrByFloat(key string, val float64) (float64, error)
	HIncrBy(key, field string, val int64) (int64, error)
	HIncrByFloat(key, field string, val float64) (float64, error)
	HGet(key, field string) (string, error)
	HGetAll(key string) (map[string]string, error)
	Del(key string) (int64, error)
}

RDB is ....

Jump to

Keyboard shortcuts

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