MCPcopy Create free account
hub / github.com/cloud-native-go/examples / KeyValueClient

Interface KeyValueClient

ch08/grpc/keyvalue/keyvalue_grpc.pb.go:36–40  ·  view source on GitHub ↗

KeyValueClient is the client API for KeyValue service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Source from the content-addressed store, hash-verified

34//
35// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
36type KeyValueClient interface {
37 Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
38 Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
39 Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*PutResponse, error)
40}
41
42type keyValueClient struct {
43 cc grpc.ClientConnInterface

Callers 13

mainFunction · 0.95
authenticateHandlerFunction · 0.65
verifyHandlerFunction · 0.65
_KeyValue_Get_HandlerFunction · 0.65
keyValueGetHandlerMethod · 0.65
TestShardingSetAndGetFunction · 0.65
mainFunction · 0.65
mainFunction · 0.95
_KeyValue_Put_HandlerFunction · 0.65
keyValuePutHandlerMethod · 0.65
_KeyValue_Delete_HandlerFunction · 0.65
keyValueDeleteHandlerMethod · 0.65

Implementers 3

keyValueClientch08/grpc/keyvalue/keyvalue_grpc.pb.go
UnimplementedKeyValueServerch08/grpc/keyvalue/keyvalue_grpc.pb.go
KeyValueStorech08/hexarch/core/core.go

Calls

no outgoing calls

Tested by

no test coverage detected