Documentation ¶
Index ¶
- Variables
- type ProtoBufReq
- type ProtoBufResp
- func (*ProtoBufResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoBufResp) GetId() uint64
- func (x *ProtoBufResp) GetName() string
- func (*ProtoBufResp) ProtoMessage()
- func (x *ProtoBufResp) ProtoReflect() protoreflect.Message
- func (x *ProtoBufResp) Reset()
- func (x *ProtoBufResp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_api_pb_pb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ProtoBufReq ¶
type ProtoBufReq struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ProtoBufReq) Descriptor
deprecated
func (*ProtoBufReq) Descriptor() ([]byte, []int)
Deprecated: Use ProtoBufReq.ProtoReflect.Descriptor instead.
func (*ProtoBufReq) GetId ¶
func (x *ProtoBufReq) GetId() uint64
func (*ProtoBufReq) ProtoMessage ¶
func (*ProtoBufReq) ProtoMessage()
func (*ProtoBufReq) ProtoReflect ¶
func (x *ProtoBufReq) ProtoReflect() protoreflect.Message
func (*ProtoBufReq) Reset ¶
func (x *ProtoBufReq) Reset()
func (*ProtoBufReq) String ¶
func (x *ProtoBufReq) String() string
type ProtoBufResp ¶
type ProtoBufResp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProtoBufResp) Descriptor
deprecated
func (*ProtoBufResp) Descriptor() ([]byte, []int)
Deprecated: Use ProtoBufResp.ProtoReflect.Descriptor instead.
func (*ProtoBufResp) GetId ¶
func (x *ProtoBufResp) GetId() uint64
func (*ProtoBufResp) GetName ¶
func (x *ProtoBufResp) GetName() string
func (*ProtoBufResp) ProtoMessage ¶
func (*ProtoBufResp) ProtoMessage()
func (*ProtoBufResp) ProtoReflect ¶
func (x *ProtoBufResp) ProtoReflect() protoreflect.Message
func (*ProtoBufResp) Reset ¶
func (x *ProtoBufResp) Reset()
func (*ProtoBufResp) String ¶
func (x *ProtoBufResp) String() string
Click to show internal directories.
Click to hide internal directories.