Documentation ¶
Index ¶
- Variables
- type Echo
- func (*Echo) Descriptor() ([]byte, []int)deprecated
- func (x *Echo) GetData() string
- func (x *Echo) GetId() int64
- func (x *Echo) GetNum() uint64
- func (x Echo) MsgID() int16
- func (*Echo) ProtoMessage()
- func (x *Echo) ProtoReflect() protoreflect.Message
- func (x *Echo) Reset()
- func (x *Echo) String() string
- type Test
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional int32 MsgID = 1000;
E_MsgID = &file_base_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var (
// optional string Type = 1000;
E_Type = &file_base_proto_extTypes[1]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_base_proto protoreflect.FileDescriptor
View Source
var File_echo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Echo ¶
type Echo struct { Data string `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` Id int64 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` Num uint64 `protobuf:"varint,3,opt,name=Num,proto3" json:"Num,omitempty"` // contains filtered or unexported fields }
func (*Echo) Descriptor
deprecated
func (*Echo) ProtoMessage ¶
func (*Echo) ProtoMessage()
func (*Echo) ProtoReflect ¶
func (x *Echo) ProtoReflect() protoreflect.Message
type Test ¶
type Test struct { XX int32 `protobuf:"varint,1,opt,name=XX,proto3" json:"XX,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.