MCPcopy
hub / github.com/gogo/protobuf / Empty

Struct Empty

types/empty.pb.go:37–41  ·  view source on GitHub ↗

please upgrade the proto package A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.prot

Source from the content-addressed store, hash-verified

35//
36// The JSON representation for `Empty` is empty JSON object `{}`.
37type Empty struct {
38 XXX_NoUnkeyedLiteral struct{} `json:"-"`
39 XXX_unrecognized []byte `json:"-"`
40 XXX_sizecache int32 `json:"-"`
41}
42
43func (m *Empty) Reset() { *m = Empty{} }
44func (*Empty) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected