Documentation ¶
Index ¶
- Variables
- type Header
- type Language
- type MatrixUpdateMessage
- func (*MatrixUpdateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MatrixUpdateMessage) GetHeader() *Header
- func (x *MatrixUpdateMessage) GetSegments() []*MatrixUpdateMessage_Element
- func (*MatrixUpdateMessage) ProtoMessage()
- func (x *MatrixUpdateMessage) ProtoReflect() protoreflect.Message
- func (x *MatrixUpdateMessage) Reset()
- func (x *MatrixUpdateMessage) String() string
- type MatrixUpdateMessage_Element
- func (*MatrixUpdateMessage_Element) Descriptor() ([]byte, []int)deprecated
- func (x *MatrixUpdateMessage_Element) GetItemId() uint32
- func (x *MatrixUpdateMessage_Element) GetQuantity() uint64
- func (x *MatrixUpdateMessage_Element) GetServer() Server
- func (x *MatrixUpdateMessage_Element) GetStageId() uint32
- func (x *MatrixUpdateMessage_Element) GetTimes() uint64
- func (*MatrixUpdateMessage_Element) ProtoMessage()
- func (x *MatrixUpdateMessage_Element) ProtoReflect() protoreflect.Message
- func (x *MatrixUpdateMessage_Element) Reset()
- func (x *MatrixUpdateMessage_Element) String() string
- type MatrixUpdateSubscribeReq
- func (*MatrixUpdateSubscribeReq) Descriptor() ([]byte, []int)deprecated
- func (x *MatrixUpdateSubscribeReq) GetHeader() *Header
- func (m *MatrixUpdateSubscribeReq) GetId() isMatrixUpdateSubscribeReq_Id
- func (x *MatrixUpdateSubscribeReq) GetItemId() uint32
- func (x *MatrixUpdateSubscribeReq) GetServer() Server
- func (x *MatrixUpdateSubscribeReq) GetStageId() uint32
- func (*MatrixUpdateSubscribeReq) ProtoMessage()
- func (x *MatrixUpdateSubscribeReq) ProtoReflect() protoreflect.Message
- func (x *MatrixUpdateSubscribeReq) Reset()
- func (x *MatrixUpdateSubscribeReq) String() string
- type MatrixUpdateSubscribeReq_ItemId
- type MatrixUpdateSubscribeReq_StageId
- type MatrixUpdateSubscribeResp
- func (*MatrixUpdateSubscribeResp) Descriptor() ([]byte, []int)deprecated
- func (x *MatrixUpdateSubscribeResp) GetError() string
- func (x *MatrixUpdateSubscribeResp) GetHeader() *Header
- func (*MatrixUpdateSubscribeResp) ProtoMessage()
- func (x *MatrixUpdateSubscribeResp) ProtoReflect() protoreflect.Message
- func (x *MatrixUpdateSubscribeResp) Reset()
- func (x *MatrixUpdateSubscribeResp) String() string
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type Server
- type Skeleton
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Server_name = map[int32]string{ 0: "CN", 1: "US", 2: "JP", 3: "KR", } Server_value = map[string]int32{ "CN": 0, "US": 1, "JP": 2, "KR": 3, } )
Enum value maps for Server.
View Source
var ( Language_name = map[int32]string{ 0: "ZH_CN", 1: "EN_US", 2: "JA_JP", 3: "KO_KR", 4: "OTHER", } Language_value = map[string]int32{ "ZH_CN": 0, "EN_US": 1, "JA_JP": 2, "KO_KR": 3, "OTHER": 4, } )
Enum value maps for Language.
View Source
var ( MessageType_name = map[int32]string{ 0: "UNKNOWN", 1: "PROBE_NAVIGATED", 2: "PROBE_ENTERED_SEARCH_RESULT", 3: "PROBE_EXECUTED_ADVANCED_QUERY", 64: "PROBE_SERVER_ACK", 256: "MATRIX_UPDATE_MESSAGE", 4096: "MATRIX_UPDATE_SUBSCRIBE_REQ", 4097: "MATRIX_UPDATE_SUBSCRIBE_RESP", } MessageType_value = map[string]int32{ "UNKNOWN": 0, "PROBE_NAVIGATED": 1, "PROBE_ENTERED_SEARCH_RESULT": 2, "PROBE_EXECUTED_ADVANCED_QUERY": 3, "PROBE_SERVER_ACK": 64, "MATRIX_UPDATE_MESSAGE": 256, "MATRIX_UPDATE_SUBSCRIBE_REQ": 4096, "MATRIX_UPDATE_SUBSCRIBE_RESP": 4097, } )
Enum value maps for MessageType.
View Source
var File_websocket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=MessageType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetType ¶
func (x *Header) GetType() MessageType
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Language ¶
type Language int32
func (Language) Descriptor ¶
func (Language) Descriptor() protoreflect.EnumDescriptor
func (Language) EnumDescriptor
deprecated
func (Language) Number ¶
func (x Language) Number() protoreflect.EnumNumber
func (Language) Type ¶
func (Language) Type() protoreflect.EnumType
type MatrixUpdateMessage ¶
type MatrixUpdateMessage struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Segments []*MatrixUpdateMessage_Element `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
func (*MatrixUpdateMessage) Descriptor
deprecated
func (*MatrixUpdateMessage) Descriptor() ([]byte, []int)
Deprecated: Use MatrixUpdateMessage.ProtoReflect.Descriptor instead.
func (*MatrixUpdateMessage) GetHeader ¶
func (x *MatrixUpdateMessage) GetHeader() *Header
func (*MatrixUpdateMessage) GetSegments ¶
func (x *MatrixUpdateMessage) GetSegments() []*MatrixUpdateMessage_Element
func (*MatrixUpdateMessage) ProtoMessage ¶
func (*MatrixUpdateMessage) ProtoMessage()
func (*MatrixUpdateMessage) ProtoReflect ¶
func (x *MatrixUpdateMessage) ProtoReflect() protoreflect.Message
func (*MatrixUpdateMessage) Reset ¶
func (x *MatrixUpdateMessage) Reset()
func (*MatrixUpdateMessage) String ¶
func (x *MatrixUpdateMessage) String() string
type MatrixUpdateMessage_Element ¶
type MatrixUpdateMessage_Element struct { Server Server `protobuf:"varint,1,opt,name=server,proto3,enum=Server" json:"server,omitempty"` StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` ItemId uint32 `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` Quantity uint64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` Times uint64 `protobuf:"varint,5,opt,name=times,proto3" json:"times,omitempty"` // contains filtered or unexported fields }
func (*MatrixUpdateMessage_Element) Descriptor
deprecated
func (*MatrixUpdateMessage_Element) Descriptor() ([]byte, []int)
Deprecated: Use MatrixUpdateMessage_Element.ProtoReflect.Descriptor instead.
func (*MatrixUpdateMessage_Element) GetItemId ¶
func (x *MatrixUpdateMessage_Element) GetItemId() uint32
func (*MatrixUpdateMessage_Element) GetQuantity ¶
func (x *MatrixUpdateMessage_Element) GetQuantity() uint64
func (*MatrixUpdateMessage_Element) GetServer ¶
func (x *MatrixUpdateMessage_Element) GetServer() Server
func (*MatrixUpdateMessage_Element) GetStageId ¶
func (x *MatrixUpdateMessage_Element) GetStageId() uint32
func (*MatrixUpdateMessage_Element) GetTimes ¶
func (x *MatrixUpdateMessage_Element) GetTimes() uint64
func (*MatrixUpdateMessage_Element) ProtoMessage ¶
func (*MatrixUpdateMessage_Element) ProtoMessage()
func (*MatrixUpdateMessage_Element) ProtoReflect ¶
func (x *MatrixUpdateMessage_Element) ProtoReflect() protoreflect.Message
func (*MatrixUpdateMessage_Element) Reset ¶
func (x *MatrixUpdateMessage_Element) Reset()
func (*MatrixUpdateMessage_Element) String ¶
func (x *MatrixUpdateMessage_Element) String() string
type MatrixUpdateSubscribeReq ¶
type MatrixUpdateSubscribeReq struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Server Server `protobuf:"varint,2,opt,name=server,proto3,enum=Server" json:"server,omitempty"` // Types that are assignable to Id: // *MatrixUpdateSubscribeReq_StageId // *MatrixUpdateSubscribeReq_ItemId Id isMatrixUpdateSubscribeReq_Id `protobuf_oneof:"id"` // contains filtered or unexported fields }
func (*MatrixUpdateSubscribeReq) Descriptor
deprecated
func (*MatrixUpdateSubscribeReq) Descriptor() ([]byte, []int)
Deprecated: Use MatrixUpdateSubscribeReq.ProtoReflect.Descriptor instead.
func (*MatrixUpdateSubscribeReq) GetHeader ¶
func (x *MatrixUpdateSubscribeReq) GetHeader() *Header
func (*MatrixUpdateSubscribeReq) GetId ¶
func (m *MatrixUpdateSubscribeReq) GetId() isMatrixUpdateSubscribeReq_Id
func (*MatrixUpdateSubscribeReq) GetItemId ¶
func (x *MatrixUpdateSubscribeReq) GetItemId() uint32
func (*MatrixUpdateSubscribeReq) GetServer ¶
func (x *MatrixUpdateSubscribeReq) GetServer() Server
func (*MatrixUpdateSubscribeReq) GetStageId ¶
func (x *MatrixUpdateSubscribeReq) GetStageId() uint32
func (*MatrixUpdateSubscribeReq) ProtoMessage ¶
func (*MatrixUpdateSubscribeReq) ProtoMessage()
func (*MatrixUpdateSubscribeReq) ProtoReflect ¶
func (x *MatrixUpdateSubscribeReq) ProtoReflect() protoreflect.Message
func (*MatrixUpdateSubscribeReq) Reset ¶
func (x *MatrixUpdateSubscribeReq) Reset()
func (*MatrixUpdateSubscribeReq) String ¶
func (x *MatrixUpdateSubscribeReq) String() string
type MatrixUpdateSubscribeReq_ItemId ¶
type MatrixUpdateSubscribeReq_ItemId struct {
ItemId uint32 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3,oneof"`
}
type MatrixUpdateSubscribeReq_StageId ¶
type MatrixUpdateSubscribeReq_StageId struct {
StageId uint32 `protobuf:"varint,3,opt,name=stage_id,json=stageId,proto3,oneof"`
}
type MatrixUpdateSubscribeResp ¶
type MatrixUpdateSubscribeResp struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*MatrixUpdateSubscribeResp) Descriptor
deprecated
func (*MatrixUpdateSubscribeResp) Descriptor() ([]byte, []int)
Deprecated: Use MatrixUpdateSubscribeResp.ProtoReflect.Descriptor instead.
func (*MatrixUpdateSubscribeResp) GetError ¶
func (x *MatrixUpdateSubscribeResp) GetError() string
func (*MatrixUpdateSubscribeResp) GetHeader ¶
func (x *MatrixUpdateSubscribeResp) GetHeader() *Header
func (*MatrixUpdateSubscribeResp) ProtoMessage ¶
func (*MatrixUpdateSubscribeResp) ProtoMessage()
func (*MatrixUpdateSubscribeResp) ProtoReflect ¶
func (x *MatrixUpdateSubscribeResp) ProtoReflect() protoreflect.Message
func (*MatrixUpdateSubscribeResp) Reset ¶
func (x *MatrixUpdateSubscribeResp) Reset()
func (*MatrixUpdateSubscribeResp) String ¶
func (x *MatrixUpdateSubscribeResp) String() string
type MessageType ¶
type MessageType int32
const ( // default value, leave for unknown MessageType_UNKNOWN MessageType = 0 MessageType_PROBE_NAVIGATED MessageType = 1 MessageType_PROBE_ENTERED_SEARCH_RESULT MessageType = 2 MessageType_PROBE_EXECUTED_ADVANCED_QUERY MessageType = 3 MessageType_PROBE_SERVER_ACK MessageType = 64 // server push messages. start from 1 << 8 /// uses MatrixUpdateMessage MessageType_MATRIX_UPDATE_MESSAGE MessageType = 256 // request-response pattern messages. start from 1 << 12 /// uses MatrixUpdateSubscribeReq MessageType_MATRIX_UPDATE_SUBSCRIBE_REQ MessageType = 4096 /// uses MatrixUpdateSubscribeResp MessageType_MATRIX_UPDATE_SUBSCRIBE_RESP MessageType = 4097 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type Server ¶
type Server int32
func (Server) Descriptor ¶
func (Server) Descriptor() protoreflect.EnumDescriptor
func (Server) EnumDescriptor
deprecated
func (Server) Number ¶
func (x Server) Number() protoreflect.EnumNumber
func (Server) Type ¶
func (Server) Type() protoreflect.EnumType
type Skeleton ¶
type Skeleton struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*Skeleton) Descriptor
deprecated
func (*Skeleton) ProtoMessage ¶
func (*Skeleton) ProtoMessage()
func (*Skeleton) ProtoReflect ¶
func (x *Skeleton) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.