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

Struct GetRequest

ch08/grpc/keyvalue/keyvalue.pb.go:47–53  ·  view source on GitHub ↗

GetRequest represents a request to the key-value store for the value associated with a particular key

Source from the content-addressed store, hash-verified

45// GetRequest represents a request to the key-value store for the
46// value associated with a particular key
47type GetRequest struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
53}
54
55func (x *GetRequest) Reset() {
56 *x = GetRequest{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected