Documentation ¶
Index ¶
- Variables
- type CodeError
- func (*CodeError) Descriptor() ([]byte, []int)
- func (m *CodeError) GetCode() string
- func (m *CodeError) GetMsg() string
- func (m *CodeError) GetPrefix() string
- func (m *CodeError) Marshal() (dAtA []byte, err error)
- func (m *CodeError) MarshalTo(dAtA []byte) (int, error)
- func (*CodeError) ProtoMessage()
- func (m *CodeError) Reset()
- func (m *CodeError) Size() (n int)
- func (m *CodeError) String() string
- func (m *CodeError) Unmarshal(dAtA []byte) error
- func (m *CodeError) XXX_DiscardUnknown()
- func (m *CodeError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CodeError) XXX_Merge(src proto.Message)
- func (m *CodeError) XXX_Size() int
- func (m *CodeError) XXX_Unmarshal(b []byte) error
- type ReqEvent
- func (*ReqEvent) Descriptor() ([]byte, []int)
- func (m *ReqEvent) GetMsgBody() []byte
- func (m *ReqEvent) GetName() string
- func (m *ReqEvent) GetReqId() int64
- func (m *ReqEvent) Marshal() (dAtA []byte, err error)
- func (m *ReqEvent) MarshalTo(dAtA []byte) (int, error)
- func (*ReqEvent) ProtoMessage()
- func (m *ReqEvent) Reset()
- func (m *ReqEvent) Size() (n int)
- func (m *ReqEvent) String() string
- func (m *ReqEvent) Unmarshal(dAtA []byte) error
- func (m *ReqEvent) XXX_DiscardUnknown()
- func (m *ReqEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReqEvent) XXX_Merge(src proto.Message)
- func (m *ReqEvent) XXX_Size() int
- func (m *ReqEvent) XXX_Unmarshal(b []byte) error
- type ReqQ
- func (*ReqQ) Descriptor() ([]byte, []int)
- func (m *ReqQ) GetComType() ReqQ_MsgComType
- func (m *ReqQ) GetName() string
- func (m *ReqQ) GetReqId() int64
- func (m *ReqQ) Marshal() (dAtA []byte, err error)
- func (m *ReqQ) MarshalTo(dAtA []byte) (int, error)
- func (*ReqQ) ProtoMessage()
- func (m *ReqQ) Reset()
- func (m *ReqQ) Size() (n int)
- func (m *ReqQ) String() string
- func (m *ReqQ) Unmarshal(dAtA []byte) error
- func (m *ReqQ) XXX_DiscardUnknown()
- func (m *ReqQ) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReqQ) XXX_Merge(src proto.Message)
- func (m *ReqQ) XXX_Size() int
- func (m *ReqQ) XXX_Unmarshal(b []byte) error
- type ReqQ_MsgComType
- type ResEvent
- func (*ResEvent) Descriptor() ([]byte, []int)
- func (m *ResEvent) GetError() *CodeError
- func (m *ResEvent) GetName() string
- func (m *ResEvent) GetReqId() int64
- func (m *ResEvent) GetResultBody() []byte
- func (m *ResEvent) GetResultType() ResEvent_ResultType
- func (m *ResEvent) Marshal() (dAtA []byte, err error)
- func (m *ResEvent) MarshalTo(dAtA []byte) (int, error)
- func (*ResEvent) ProtoMessage()
- func (m *ResEvent) Reset()
- func (m *ResEvent) Size() (n int)
- func (m *ResEvent) String() string
- func (m *ResEvent) Unmarshal(dAtA []byte) error
- func (m *ResEvent) XXX_DiscardUnknown()
- func (m *ResEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResEvent) XXX_Merge(src proto.Message)
- func (m *ResEvent) XXX_Size() int
- func (m *ResEvent) XXX_Unmarshal(b []byte) error
- type ResEvent_ResultType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEventmsg = fmt.Errorf("protobuf: negative length found during unmarshaling") ErrIntOverflowEventmsg = fmt.Errorf("protobuf: integer overflow") )
View Source
var ReqQ_MsgComType_name = map[int32]string{
0: "QUE",
1: "SUB",
}
View Source
var ReqQ_MsgComType_value = map[string]int32{
"QUE": 0,
"SUB": 1,
}
View Source
var ResEvent_ResultType_name = map[int32]string{
0: "SUCCESS",
1: "FAILURE",
}
View Source
var ResEvent_ResultType_value = map[string]int32{
"SUCCESS": 0,
"FAILURE": 1,
}
Functions ¶
This section is empty.
Types ¶
type CodeError ¶
type CodeError struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CodeError) Descriptor ¶
func (*CodeError) ProtoMessage ¶
func (*CodeError) ProtoMessage()
func (*CodeError) XXX_DiscardUnknown ¶
func (m *CodeError) XXX_DiscardUnknown()
func (*CodeError) XXX_Marshal ¶
func (*CodeError) XXX_Unmarshal ¶
type ReqEvent ¶
type ReqEvent struct { ReqId int64 `protobuf:"varint,1,opt,name=reqId,proto3" json:"reqId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MsgBody []byte `protobuf:"bytes,3,opt,name=msgBody,proto3" json:"msgBody,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqEvent) Descriptor ¶
func (*ReqEvent) GetMsgBody ¶
func (*ReqEvent) ProtoMessage ¶
func (*ReqEvent) ProtoMessage()
func (*ReqEvent) XXX_DiscardUnknown ¶
func (m *ReqEvent) XXX_DiscardUnknown()
func (*ReqEvent) XXX_Marshal ¶
func (*ReqEvent) XXX_Unmarshal ¶
type ReqQ ¶
type ReqQ struct { ReqId int64 `protobuf:"varint,1,opt,name=reqId,proto3" json:"reqId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ComType ReqQ_MsgComType `protobuf:"varint,3,opt,name=comType,proto3,enum=schema.ReqQ_MsgComType" json:"comType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReqQ message in queue
func (*ReqQ) Descriptor ¶
func (*ReqQ) GetComType ¶
func (m *ReqQ) GetComType() ReqQ_MsgComType
func (*ReqQ) ProtoMessage ¶
func (*ReqQ) ProtoMessage()
func (*ReqQ) XXX_DiscardUnknown ¶
func (m *ReqQ) XXX_DiscardUnknown()
func (*ReqQ) XXX_Unmarshal ¶
type ReqQ_MsgComType ¶
type ReqQ_MsgComType int32
const ( ReqQ_QUE ReqQ_MsgComType = 0 ReqQ_SUB ReqQ_MsgComType = 1 )
func (ReqQ_MsgComType) EnumDescriptor ¶
func (ReqQ_MsgComType) EnumDescriptor() ([]byte, []int)
func (ReqQ_MsgComType) String ¶
func (x ReqQ_MsgComType) String() string
type ResEvent ¶
type ResEvent struct { ReqId int64 `protobuf:"varint,1,opt,name=reqId,proto3" json:"reqId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ResultType ResEvent_ResultType `protobuf:"varint,3,opt,name=resultType,proto3,enum=schema.ResEvent_ResultType" json:"resultType,omitempty"` ResultBody []byte `protobuf:"bytes,5,opt,name=resultBody,proto3" json:"resultBody,omitempty"` Error *CodeError `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResEvent) Descriptor ¶
func (*ResEvent) GetResultBody ¶
func (*ResEvent) GetResultType ¶
func (m *ResEvent) GetResultType() ResEvent_ResultType
func (*ResEvent) ProtoMessage ¶
func (*ResEvent) ProtoMessage()
func (*ResEvent) XXX_DiscardUnknown ¶
func (m *ResEvent) XXX_DiscardUnknown()
func (*ResEvent) XXX_Marshal ¶
func (*ResEvent) XXX_Unmarshal ¶
type ResEvent_ResultType ¶
type ResEvent_ResultType int32
const ( ResEvent_SUCCESS ResEvent_ResultType = 0 ResEvent_FAILURE ResEvent_ResultType = 1 )
func (ResEvent_ResultType) EnumDescriptor ¶
func (ResEvent_ResultType) EnumDescriptor() ([]byte, []int)
func (ResEvent_ResultType) String ¶
func (x ResEvent_ResultType) String() string
Click to show internal directories.
Click to hide internal directories.