keyvalueclient

package
v1.42.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 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,
		Key *string,
		opts ...yarpc.CallOption,
	) (string, error)

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

Interface is a client for the KeyValue service.

func New

New builds a new client for the KeyValue service.

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

Jump to

Keyboard shortcuts

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