Documentation ¶
Overview ¶
Package protocol defines the types used to represent calls to the debug server.
Index ¶
- type BreakpointAtFunctionRequest
- type BreakpointAtLineRequest
- type BreakpointRequest
- type BreakpointResponse
- type CloseRequest
- type CloseResponse
- type DeleteBreakpointsRequest
- type DeleteBreakpointsResponse
- type EvalRequest
- type EvalResponse
- type EvaluateRequest
- type EvaluateResponse
- type FramesRequest
- type FramesResponse
- type GoroutinesRequest
- type GoroutinesResponse
- type MapElementRequest
- type MapElementResponse
- type OpenRequest
- type OpenResponse
- type ReadAtRequest
- type ReadAtResponse
- type ResumeRequest
- type ResumeResponse
- type RunRequest
- type RunResponse
- type ValueRequest
- type ValueResponse
- type VarByNameRequest
- type VarByNameResponse
- type WriteAtRequest
- type WriteAtResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreakpointAtFunctionRequest ¶
type BreakpointAtFunctionRequest struct {
Function string
}
type BreakpointAtLineRequest ¶
type BreakpointRequest ¶
type BreakpointRequest struct {
Address uint64
}
type BreakpointResponse ¶
type BreakpointResponse struct {
PCs []uint64
}
type CloseRequest ¶
type CloseRequest struct {
FD int
}
type CloseResponse ¶
type CloseResponse struct { }
type DeleteBreakpointsRequest ¶
type DeleteBreakpointsRequest struct {
PCs []uint64
}
type DeleteBreakpointsResponse ¶
type DeleteBreakpointsResponse struct { }
type EvalRequest ¶
type EvalRequest struct {
Expr string
}
type EvalResponse ¶
type EvalResponse struct {
Result []string
}
type EvaluateRequest ¶
type EvaluateRequest struct {
Expression string
}
type EvaluateResponse ¶
type FramesRequest ¶
type FramesRequest struct {
Count int
}
type FramesResponse ¶
type GoroutinesRequest ¶
type GoroutinesRequest struct { }
type GoroutinesResponse ¶
type MapElementRequest ¶
type OpenRequest ¶
type OpenResponse ¶
type OpenResponse struct {
FD int
}
type ReadAtRequest ¶
type ReadAtResponse ¶
type ReadAtResponse struct {
Data []byte
}
type ResumeRequest ¶
type ResumeRequest struct { }
type ResumeResponse ¶
type RunRequest ¶
type RunRequest struct {
Args []string
}
type RunResponse ¶
type ValueRequest ¶
type ValueResponse ¶
type VarByNameRequest ¶
type VarByNameRequest struct {
Name string
}
type VarByNameResponse ¶
type WriteAtRequest ¶
type WriteAtResponse ¶
type WriteAtResponse struct {
Len int
}
Click to show internal directories.
Click to hide internal directories.