keyvalueclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetValue(
		ctx context.Context,
		reqMeta yarpc.CallReqMeta,
		Key *string,
	) (string, yarpc.CallResMeta, error)

	SetValue(
		ctx context.Context,
		reqMeta yarpc.CallReqMeta,
		Key *string,
		Value *string,
	) (yarpc.CallResMeta, error)
}

Interface is a client for the KeyValue service.

func New

New builds a new client for the KeyValue service.

client := keyvalueclient.New(dispatcher.Channel("keyvalue"))

Jump to

Keyboard shortcuts

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