storage

package
v0.0.0-...-c182ff6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, driver Engine)

Types

type Engine

type Engine interface {
	Initializer(opts string) error

	HSet(key, field string, value interface{}, maxLen, expire int64) error

	HScan(key string, do func(field, token string, ttl float64)) error

	HGet(key, field string) (string, float64, error)

	HRem(key string, field ...string) error
}

func New

func New(name string, opts string) (*Engine, error)

Directories

Path Synopsis
uri

Jump to

Keyboard shortcuts

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