storeclient

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 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 {
	readonlystoreclient.Interface

	CompareAndSwap(
		ctx context.Context,
		Request *atomic.CompareAndSwap,
		opts ...yarpc.CallOption,
	) error

	Forget(
		ctx context.Context,
		Key *string,
		opts ...yarpc.CallOption,
	) (yarpc.Ack, error)

	Increment(
		ctx context.Context,
		Key *string,
		Value *int64,
		opts ...yarpc.CallOption,
	) error
}

Interface is a client for the Store service.

func New

New builds a new client for the Store service.

client := storeclient.New(dispatcher.ClientConfig("store"))

Jump to

Keyboard shortcuts

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