Documentation ¶
Index ¶
- Variables
- type ProtoBufReq
- func (*ProtoBufReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoBufReq) GetAddress() string
- func (x *ProtoBufReq) GetAuthorization() string
- func (x *ProtoBufReq) GetId() uint64
- func (x *ProtoBufReq) GetName() string
- func (*ProtoBufReq) ProtoMessage()
- func (x *ProtoBufReq) ProtoReflect() protoreflect.Message
- func (x *ProtoBufReq) Reset()
- func (x *ProtoBufReq) String() string
- 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"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Authorization string `protobuf:"bytes,3,opt,name=Authorization,proto3" json:"Authorization,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ProtoBufReq) Descriptor
deprecated
func (*ProtoBufReq) Descriptor() ([]byte, []int)
Deprecated: Use ProtoBufReq.ProtoReflect.Descriptor instead.
func (*ProtoBufReq) GetAddress ¶ added in v1.3.0
func (x *ProtoBufReq) GetAddress() string
func (*ProtoBufReq) GetAuthorization ¶ added in v1.3.0
func (x *ProtoBufReq) GetAuthorization() string
func (*ProtoBufReq) GetId ¶
func (x *ProtoBufReq) GetId() uint64
func (*ProtoBufReq) GetName ¶ added in v1.3.0
func (x *ProtoBufReq) GetName() string
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.