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

Struct PutRequest

ch08/grpc/keyvalue/keyvalue.pb.go:145–152  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

143// PutRequest represents a request to the key-value store for the
144// value associated with a particular key
145type PutRequest struct {
146 state protoimpl.MessageState
147 sizeCache protoimpl.SizeCache
148 unknownFields protoimpl.UnknownFields
149
150 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
151 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
152}
153
154func (x *PutRequest) Reset() {
155 *x = PutRequest{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected