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

Interface KeyValueServer

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

KeyValueServer is the server API for KeyValue service. All implementations must embed UnimplementedKeyValueServer for forward compatibility

Source from the content-addressed store, hash-verified

78// All implementations must embed UnimplementedKeyValueServer
79// for forward compatibility
80type KeyValueServer interface {
81 Get(context.Context, *GetRequest) (*GetResponse, error)
82 Put(context.Context, *PutRequest) (*PutResponse, error)
83 Delete(context.Context, *DeleteRequest) (*PutResponse, error)
84 mustEmbedUnimplementedKeyValueServer()
85}
86
87// UnimplementedKeyValueServer must be embedded to have forward compatible implementations.
88type UnimplementedKeyValueServer struct {

Callers

nothing calls this directly

Implementers 1

UnimplementedKeyValueServerch08/grpc/keyvalue/keyvalue_grpc.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected