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 ¶
func New(c transport.ClientConfig, opts ...thrift.ClientOption) Interface
New builds a new client for the KeyValue service.
client := keyvalueclient.New(dispatcher.ClientConfig("keyvalue"))
Click to show internal directories.
Click to hide internal directories.