kvstore

package
v0.0.0-...-3d1c771 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PORT       = "9999"
	CHAN_LIMIT = 10000
)

Variables

This section is empty.

Functions

func Close

func Close()

func New

func New()

Types

type KVStore

type KVStore struct {
}

Used for invocation

func (*KVStore) Del

func (store *KVStore) Del(key string, reply *int) error

func (*KVStore) Get

func (store *KVStore) Get(key string, val *Val) error

func (*KVStore) Put

func (store *KVStore) Put(keyValue KeyValue, reply *int) error

type KeyValue

type KeyValue struct {
	Key   string
	Value interface{}
}

type Val

type Val struct {
	Value interface{}
}

Jump to

Keyboard shortcuts

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