Documentation ¶
Index ¶
- Variables
- type HeaderData
- func (*HeaderData) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderData) GetContentLength() uint32
- func (x *HeaderData) GetContentType() string
- func (x *HeaderData) GetId() string
- func (x *HeaderData) GetType() HeaderData_Type
- func (*HeaderData) ProtoMessage()
- func (x *HeaderData) ProtoReflect() protoreflect.Message
- func (x *HeaderData) Reset()
- func (x *HeaderData) String() string
- type HeaderData_Type
- func (HeaderData_Type) Descriptor() protoreflect.EnumDescriptor
- func (x HeaderData_Type) Enum() *HeaderData_Type
- func (HeaderData_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x HeaderData_Type) Number() protoreflect.EnumNumber
- func (x HeaderData_Type) String() string
- func (HeaderData_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HeaderData_Type_name = map[int32]string{ 0: "NORMAL", 1: "ACK", 2: "ACKR", } HeaderData_Type_value = map[string]int32{ "NORMAL": 0, "ACK": 1, "ACKR": 2, } )
Enum value maps for HeaderData_Type.
View Source
var File_network_model_network_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HeaderData ¶
type HeaderData struct { Type HeaderData_Type `protobuf:"varint,1,opt,name=type,proto3,enum=model.HeaderData_Type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ContentType string `protobuf:"bytes,3,opt,name=contentType,proto3" json:"contentType,omitempty"` ContentLength uint32 `protobuf:"varint,4,opt,name=contentLength,proto3" json:"contentLength,omitempty"` // contains filtered or unexported fields }
func (*HeaderData) Descriptor
deprecated
func (*HeaderData) Descriptor() ([]byte, []int)
Deprecated: Use HeaderData.ProtoReflect.Descriptor instead.
func (*HeaderData) GetContentLength ¶
func (x *HeaderData) GetContentLength() uint32
func (*HeaderData) GetContentType ¶
func (x *HeaderData) GetContentType() string
func (*HeaderData) GetId ¶
func (x *HeaderData) GetId() string
func (*HeaderData) GetType ¶
func (x *HeaderData) GetType() HeaderData_Type
func (*HeaderData) ProtoMessage ¶
func (*HeaderData) ProtoMessage()
func (*HeaderData) ProtoReflect ¶
func (x *HeaderData) ProtoReflect() protoreflect.Message
func (*HeaderData) Reset ¶
func (x *HeaderData) Reset()
func (*HeaderData) String ¶
func (x *HeaderData) String() string
type HeaderData_Type ¶
type HeaderData_Type int32
const ( HeaderData_NORMAL HeaderData_Type = 0 HeaderData_ACK HeaderData_Type = 1 HeaderData_ACKR HeaderData_Type = 2 )
func (HeaderData_Type) Descriptor ¶
func (HeaderData_Type) Descriptor() protoreflect.EnumDescriptor
func (HeaderData_Type) Enum ¶
func (x HeaderData_Type) Enum() *HeaderData_Type
func (HeaderData_Type) EnumDescriptor
deprecated
func (HeaderData_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use HeaderData_Type.Descriptor instead.
func (HeaderData_Type) Number ¶
func (x HeaderData_Type) Number() protoreflect.EnumNumber
func (HeaderData_Type) String ¶
func (x HeaderData_Type) String() string
func (HeaderData_Type) Type ¶
func (HeaderData_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.