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

Method Get

ch08/grpc/keyvalue/keyvalue_grpc.pb.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, in *GetRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

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}

Callers 7

mainFunction · 0.95
authenticateHandlerFunction · 0.65
verifyHandlerFunction · 0.65
_KeyValue_Get_HandlerFunction · 0.65
keyValueGetHandlerMethod · 0.65
TestShardingSetAndGetFunction · 0.65
mainFunction · 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 1

TestShardingSetAndGetFunction · 0.52