storeclient

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 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 {
	baseserviceclient.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

	Integer(
		ctx context.Context,
		Key *string,
		opts ...yarpc.CallOption,
	) (int64, 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