Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_grpc_testing_empty_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
An empty message that you can re-use to avoid defining duplicated empty messages in your project. A typical example is to use it as argument or the return value of a service API. For instance:
service Foo { rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; };
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.