Documentation ¶
Overview ¶
Package pbinspectorhandler is a generated protocol buffer package.
It is generated from these files:
inspector_message.proto
It has these top-level messages:
InspectorMsgReq_Event_FuncCall InspectorMsgReq_Event_FuncReturn InspectorMsgReq_Event_Exit InspectorMsgReq_Event InspectorMsgReq_Initiation InspectorMsgReq_JavaSpecificFields_StackTraceElement InspectorMsgReq_JavaSpecificFields_Params InspectorMsgReq_JavaSpecificFields InspectorMsgReq InspectorMsgRsp
Index ¶
- Variables
- type InspectorMsgReq
- func (m *InspectorMsgReq) GetEntityId() string
- func (m *InspectorMsgReq) GetEvent() *InspectorMsgReq_Event
- func (m *InspectorMsgReq) GetGaMsgId() int32
- func (m *InspectorMsgReq) GetHasJavaSpecificFields() int32
- func (m *InspectorMsgReq) GetInitiation() *InspectorMsgReq_Initiation
- func (m *InspectorMsgReq) GetJavaSpecificFields() *InspectorMsgReq_JavaSpecificFields
- func (m *InspectorMsgReq) GetMsgId() int32
- func (m *InspectorMsgReq) GetPid() int32
- func (m *InspectorMsgReq) GetTid() int32
- func (m *InspectorMsgReq) GetType() InspectorMsgReq_Type
- func (*InspectorMsgReq) ProtoMessage()
- func (m *InspectorMsgReq) Reset()
- func (m *InspectorMsgReq) String() string
- type InspectorMsgReq_Event
- func (m *InspectorMsgReq_Event) GetExit() *InspectorMsgReq_Event_Exit
- func (m *InspectorMsgReq_Event) GetFuncCall() *InspectorMsgReq_Event_FuncCall
- func (m *InspectorMsgReq_Event) GetFuncReturn() *InspectorMsgReq_Event_FuncReturn
- func (m *InspectorMsgReq_Event) GetType() InspectorMsgReq_Event_Type
- func (*InspectorMsgReq_Event) ProtoMessage()
- func (m *InspectorMsgReq_Event) Reset()
- func (m *InspectorMsgReq_Event) String() string
- type InspectorMsgReq_Event_Exit
- type InspectorMsgReq_Event_FuncCall
- type InspectorMsgReq_Event_FuncReturn
- type InspectorMsgReq_Event_Type
- type InspectorMsgReq_Initiation
- type InspectorMsgReq_JavaSpecificFields
- func (m *InspectorMsgReq_JavaSpecificFields) GetNrParams() int32
- func (m *InspectorMsgReq_JavaSpecificFields) GetNrStackTraceElements() int32
- func (m *InspectorMsgReq_JavaSpecificFields) GetParams() []*InspectorMsgReq_JavaSpecificFields_Params
- func (m *InspectorMsgReq_JavaSpecificFields) GetStackTraceElements() []*InspectorMsgReq_JavaSpecificFields_StackTraceElement
- func (m *InspectorMsgReq_JavaSpecificFields) GetThreadName() string
- func (*InspectorMsgReq_JavaSpecificFields) ProtoMessage()
- func (m *InspectorMsgReq_JavaSpecificFields) Reset()
- func (m *InspectorMsgReq_JavaSpecificFields) String() string
- type InspectorMsgReq_JavaSpecificFields_Params
- func (m *InspectorMsgReq_JavaSpecificFields_Params) GetName() string
- func (m *InspectorMsgReq_JavaSpecificFields_Params) GetValue() string
- func (*InspectorMsgReq_JavaSpecificFields_Params) ProtoMessage()
- func (m *InspectorMsgReq_JavaSpecificFields_Params) Reset()
- func (m *InspectorMsgReq_JavaSpecificFields_Params) String() string
- type InspectorMsgReq_JavaSpecificFields_StackTraceElement
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetClassName() string
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetFileName() string
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetLineNumber() int32
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetMethodName() string
- func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) ProtoMessage()
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) Reset()
- func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) String() string
- type InspectorMsgReq_Type
- type InspectorMsgRsp
- type InspectorMsgRsp_Result
- type PBInspectorHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var InspectorMsgReq_Event_Type_name = map[int32]string{
1: "FUNC_CALL",
2: "FUNC_RETURN",
3: "EXIT",
}
View Source
var InspectorMsgReq_Event_Type_value = map[string]int32{
"FUNC_CALL": 1,
"FUNC_RETURN": 2,
"EXIT": 3,
}
View Source
var InspectorMsgReq_Type_name = map[int32]string{
1: "EVENT",
2: "INITIATION",
}
View Source
var InspectorMsgReq_Type_value = map[string]int32{
"EVENT": 1,
"INITIATION": 2,
}
View Source
var InspectorMsgRsp_Result_name = map[int32]string{
1: "ACK",
2: "ERROR",
3: "END",
}
View Source
var InspectorMsgRsp_Result_value = map[string]int32{
"ACK": 1,
"ERROR": 2,
"END": 3,
}
Functions ¶
This section is empty.
Types ¶
type InspectorMsgReq ¶
type InspectorMsgReq struct { EntityId *string `protobuf:"bytes,1,req,name=entity_id" json:"entity_id,omitempty"` Type *InspectorMsgReq_Type `protobuf:"varint,2,req,name=type,enum=pbinspectorhandler.InspectorMsgReq_Type" json:"type,omitempty"` Pid *int32 `protobuf:"varint,3,req,name=pid" json:"pid,omitempty"` Tid *int32 `protobuf:"varint,4,req,name=tid" json:"tid,omitempty"` MsgId *int32 `protobuf:"varint,5,req,name=msg_id" json:"msg_id,omitempty"` GaMsgId *int32 `protobuf:"varint,6,opt,name=ga_msg_id" json:"ga_msg_id,omitempty"` Event *InspectorMsgReq_Event `protobuf:"bytes,7,opt" json:"Event,omitempty"` Initiation *InspectorMsgReq_Initiation `protobuf:"bytes,8,opt" json:"Initiation,omitempty"` HasJavaSpecificFields *int32 `protobuf:"varint,9,req" json:"HasJavaSpecificFields,omitempty"` JavaSpecificFields *InspectorMsgReq_JavaSpecificFields `protobuf:"bytes,10,opt" json:"JavaSpecificFields,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq) GetEntityId ¶
func (m *InspectorMsgReq) GetEntityId() string
func (*InspectorMsgReq) GetEvent ¶
func (m *InspectorMsgReq) GetEvent() *InspectorMsgReq_Event
func (*InspectorMsgReq) GetGaMsgId ¶
func (m *InspectorMsgReq) GetGaMsgId() int32
func (*InspectorMsgReq) GetHasJavaSpecificFields ¶
func (m *InspectorMsgReq) GetHasJavaSpecificFields() int32
func (*InspectorMsgReq) GetInitiation ¶
func (m *InspectorMsgReq) GetInitiation() *InspectorMsgReq_Initiation
func (*InspectorMsgReq) GetJavaSpecificFields ¶
func (m *InspectorMsgReq) GetJavaSpecificFields() *InspectorMsgReq_JavaSpecificFields
func (*InspectorMsgReq) GetMsgId ¶
func (m *InspectorMsgReq) GetMsgId() int32
func (*InspectorMsgReq) GetPid ¶
func (m *InspectorMsgReq) GetPid() int32
func (*InspectorMsgReq) GetTid ¶
func (m *InspectorMsgReq) GetTid() int32
func (*InspectorMsgReq) GetType ¶
func (m *InspectorMsgReq) GetType() InspectorMsgReq_Type
func (*InspectorMsgReq) ProtoMessage ¶
func (*InspectorMsgReq) ProtoMessage()
func (*InspectorMsgReq) Reset ¶
func (m *InspectorMsgReq) Reset()
func (*InspectorMsgReq) String ¶
func (m *InspectorMsgReq) String() string
type InspectorMsgReq_Event ¶
type InspectorMsgReq_Event struct { Type *InspectorMsgReq_Event_Type `protobuf:"varint,1,req,name=type,enum=pbinspectorhandler.InspectorMsgReq_Event_Type" json:"type,omitempty"` FuncCall *InspectorMsgReq_Event_FuncCall `protobuf:"bytes,2,opt" json:"FuncCall,omitempty"` FuncReturn *InspectorMsgReq_Event_FuncReturn `protobuf:"bytes,3,opt" json:"FuncReturn,omitempty"` Exit *InspectorMsgReq_Event_Exit `protobuf:"bytes,4,opt" json:"Exit,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_Event) GetExit ¶
func (m *InspectorMsgReq_Event) GetExit() *InspectorMsgReq_Event_Exit
func (*InspectorMsgReq_Event) GetFuncCall ¶
func (m *InspectorMsgReq_Event) GetFuncCall() *InspectorMsgReq_Event_FuncCall
func (*InspectorMsgReq_Event) GetFuncReturn ¶
func (m *InspectorMsgReq_Event) GetFuncReturn() *InspectorMsgReq_Event_FuncReturn
func (*InspectorMsgReq_Event) GetType ¶
func (m *InspectorMsgReq_Event) GetType() InspectorMsgReq_Event_Type
func (*InspectorMsgReq_Event) ProtoMessage ¶
func (*InspectorMsgReq_Event) ProtoMessage()
func (*InspectorMsgReq_Event) Reset ¶
func (m *InspectorMsgReq_Event) Reset()
func (*InspectorMsgReq_Event) String ¶
func (m *InspectorMsgReq_Event) String() string
type InspectorMsgReq_Event_Exit ¶
type InspectorMsgReq_Event_Exit struct { ExitCode *int32 `protobuf:"varint,1,req,name=exitCode" json:"exitCode,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_Event_Exit) GetExitCode ¶
func (m *InspectorMsgReq_Event_Exit) GetExitCode() int32
func (*InspectorMsgReq_Event_Exit) ProtoMessage ¶
func (*InspectorMsgReq_Event_Exit) ProtoMessage()
func (*InspectorMsgReq_Event_Exit) Reset ¶
func (m *InspectorMsgReq_Event_Exit) Reset()
func (*InspectorMsgReq_Event_Exit) String ¶
func (m *InspectorMsgReq_Event_Exit) String() string
type InspectorMsgReq_Event_FuncCall ¶
type InspectorMsgReq_Event_FuncCall struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_Event_FuncCall) GetName ¶
func (m *InspectorMsgReq_Event_FuncCall) GetName() string
func (*InspectorMsgReq_Event_FuncCall) ProtoMessage ¶
func (*InspectorMsgReq_Event_FuncCall) ProtoMessage()
func (*InspectorMsgReq_Event_FuncCall) Reset ¶
func (m *InspectorMsgReq_Event_FuncCall) Reset()
func (*InspectorMsgReq_Event_FuncCall) String ¶
func (m *InspectorMsgReq_Event_FuncCall) String() string
type InspectorMsgReq_Event_FuncReturn ¶
type InspectorMsgReq_Event_FuncReturn struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_Event_FuncReturn) GetName ¶
func (m *InspectorMsgReq_Event_FuncReturn) GetName() string
func (*InspectorMsgReq_Event_FuncReturn) ProtoMessage ¶
func (*InspectorMsgReq_Event_FuncReturn) ProtoMessage()
func (*InspectorMsgReq_Event_FuncReturn) Reset ¶
func (m *InspectorMsgReq_Event_FuncReturn) Reset()
func (*InspectorMsgReq_Event_FuncReturn) String ¶
func (m *InspectorMsgReq_Event_FuncReturn) String() string
type InspectorMsgReq_Event_Type ¶
type InspectorMsgReq_Event_Type int32
const ( InspectorMsgReq_Event_FUNC_CALL InspectorMsgReq_Event_Type = 1 InspectorMsgReq_Event_FUNC_RETURN InspectorMsgReq_Event_Type = 2 InspectorMsgReq_Event_EXIT InspectorMsgReq_Event_Type = 3 )
func (InspectorMsgReq_Event_Type) Enum ¶
func (x InspectorMsgReq_Event_Type) Enum() *InspectorMsgReq_Event_Type
func (InspectorMsgReq_Event_Type) String ¶
func (x InspectorMsgReq_Event_Type) String() string
func (*InspectorMsgReq_Event_Type) UnmarshalJSON ¶
func (x *InspectorMsgReq_Event_Type) UnmarshalJSON(data []byte) error
type InspectorMsgReq_Initiation ¶
type InspectorMsgReq_Initiation struct { EntityId *string `protobuf:"bytes,1,req,name=entityId" json:"entityId,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_Initiation) GetEntityId ¶
func (m *InspectorMsgReq_Initiation) GetEntityId() string
func (*InspectorMsgReq_Initiation) ProtoMessage ¶
func (*InspectorMsgReq_Initiation) ProtoMessage()
func (*InspectorMsgReq_Initiation) Reset ¶
func (m *InspectorMsgReq_Initiation) Reset()
func (*InspectorMsgReq_Initiation) String ¶
func (m *InspectorMsgReq_Initiation) String() string
type InspectorMsgReq_JavaSpecificFields ¶
type InspectorMsgReq_JavaSpecificFields struct { ThreadName *string `protobuf:"bytes,1,req,name=threadName" json:"threadName,omitempty"` NrStackTraceElements *int32 `protobuf:"varint,2,req,name=nrStackTraceElements" json:"nrStackTraceElements,omitempty"` StackTraceElements []*InspectorMsgReq_JavaSpecificFields_StackTraceElement `protobuf:"bytes,3,rep,name=stackTraceElements" json:"stackTraceElements,omitempty"` NrParams *int32 `protobuf:"varint,4,req,name=nrParams" json:"nrParams,omitempty"` Params []*InspectorMsgReq_JavaSpecificFields_Params `protobuf:"bytes,5,rep,name=params" json:"params,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_JavaSpecificFields) GetNrParams ¶
func (m *InspectorMsgReq_JavaSpecificFields) GetNrParams() int32
func (*InspectorMsgReq_JavaSpecificFields) GetNrStackTraceElements ¶
func (m *InspectorMsgReq_JavaSpecificFields) GetNrStackTraceElements() int32
func (*InspectorMsgReq_JavaSpecificFields) GetParams ¶
func (m *InspectorMsgReq_JavaSpecificFields) GetParams() []*InspectorMsgReq_JavaSpecificFields_Params
func (*InspectorMsgReq_JavaSpecificFields) GetStackTraceElements ¶
func (m *InspectorMsgReq_JavaSpecificFields) GetStackTraceElements() []*InspectorMsgReq_JavaSpecificFields_StackTraceElement
func (*InspectorMsgReq_JavaSpecificFields) GetThreadName ¶
func (m *InspectorMsgReq_JavaSpecificFields) GetThreadName() string
func (*InspectorMsgReq_JavaSpecificFields) ProtoMessage ¶
func (*InspectorMsgReq_JavaSpecificFields) ProtoMessage()
func (*InspectorMsgReq_JavaSpecificFields) Reset ¶
func (m *InspectorMsgReq_JavaSpecificFields) Reset()
func (*InspectorMsgReq_JavaSpecificFields) String ¶
func (m *InspectorMsgReq_JavaSpecificFields) String() string
type InspectorMsgReq_JavaSpecificFields_Params ¶
type InspectorMsgReq_JavaSpecificFields_Params struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_JavaSpecificFields_Params) GetName ¶
func (m *InspectorMsgReq_JavaSpecificFields_Params) GetName() string
func (*InspectorMsgReq_JavaSpecificFields_Params) GetValue ¶
func (m *InspectorMsgReq_JavaSpecificFields_Params) GetValue() string
func (*InspectorMsgReq_JavaSpecificFields_Params) ProtoMessage ¶
func (*InspectorMsgReq_JavaSpecificFields_Params) ProtoMessage()
func (*InspectorMsgReq_JavaSpecificFields_Params) Reset ¶
func (m *InspectorMsgReq_JavaSpecificFields_Params) Reset()
func (*InspectorMsgReq_JavaSpecificFields_Params) String ¶
func (m *InspectorMsgReq_JavaSpecificFields_Params) String() string
type InspectorMsgReq_JavaSpecificFields_StackTraceElement ¶
type InspectorMsgReq_JavaSpecificFields_StackTraceElement struct { FileName *string `protobuf:"bytes,1,req,name=fileName" json:"fileName,omitempty"` ClassName *string `protobuf:"bytes,2,req,name=className" json:"className,omitempty"` MethodName *string `protobuf:"bytes,3,req,name=methodName" json:"methodName,omitempty"` LineNumber *int32 `protobuf:"varint,4,req,name=lineNumber" json:"lineNumber,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetClassName ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetClassName() string
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetFileName ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetFileName() string
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetLineNumber ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetLineNumber() int32
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetMethodName ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetMethodName() string
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) ProtoMessage ¶
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) ProtoMessage()
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) Reset ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) Reset()
func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) String ¶
func (m *InspectorMsgReq_JavaSpecificFields_StackTraceElement) String() string
type InspectorMsgReq_Type ¶
type InspectorMsgReq_Type int32
const ( InspectorMsgReq_EVENT InspectorMsgReq_Type = 1 InspectorMsgReq_INITIATION InspectorMsgReq_Type = 2 )
func (InspectorMsgReq_Type) Enum ¶
func (x InspectorMsgReq_Type) Enum() *InspectorMsgReq_Type
func (InspectorMsgReq_Type) String ¶
func (x InspectorMsgReq_Type) String() string
func (*InspectorMsgReq_Type) UnmarshalJSON ¶
func (x *InspectorMsgReq_Type) UnmarshalJSON(data []byte) error
type InspectorMsgRsp ¶
type InspectorMsgRsp struct { Res *InspectorMsgRsp_Result `protobuf:"varint,1,req,name=res,enum=pbinspectorhandler.InspectorMsgRsp_Result" json:"res,omitempty"` MsgId *int32 `protobuf:"varint,2,opt,name=msg_id" json:"msg_id,omitempty"` GaMsgId *int32 `protobuf:"varint,3,opt,name=ga_msg_id" json:"ga_msg_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InspectorMsgRsp) GetGaMsgId ¶
func (m *InspectorMsgRsp) GetGaMsgId() int32
func (*InspectorMsgRsp) GetMsgId ¶
func (m *InspectorMsgRsp) GetMsgId() int32
func (*InspectorMsgRsp) GetRes ¶
func (m *InspectorMsgRsp) GetRes() InspectorMsgRsp_Result
func (*InspectorMsgRsp) ProtoMessage ¶
func (*InspectorMsgRsp) ProtoMessage()
func (*InspectorMsgRsp) Reset ¶
func (m *InspectorMsgRsp) Reset()
func (*InspectorMsgRsp) String ¶
func (m *InspectorMsgRsp) String() string
type InspectorMsgRsp_Result ¶
type InspectorMsgRsp_Result int32
const ( InspectorMsgRsp_ACK InspectorMsgRsp_Result = 1 InspectorMsgRsp_ERROR InspectorMsgRsp_Result = 2 InspectorMsgRsp_END InspectorMsgRsp_Result = 3 )
func (InspectorMsgRsp_Result) Enum ¶
func (x InspectorMsgRsp_Result) Enum() *InspectorMsgRsp_Result
func (InspectorMsgRsp_Result) String ¶
func (x InspectorMsgRsp_Result) String() string
func (*InspectorMsgRsp_Result) UnmarshalJSON ¶
func (x *InspectorMsgRsp_Result) UnmarshalJSON(data []byte) error
type PBInspectorHandler ¶
type PBInspectorHandler struct { }
func NewPBInspectorHanlder ¶
func NewPBInspectorHanlder(config *Config) *PBInspectorHandler
func (*PBInspectorHandler) StartAccept ¶
func (handler *PBInspectorHandler) StartAccept(readyEntityCh chan *TransitionEntity)
Click to show internal directories.
Click to hide internal directories.