protocol

package
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package protocol defines the types used to represent calls to the debug server.

Index

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 BreakpointAtLineRequest struct {
	File string
	Line uint64
}

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 EvaluateResponse struct {
	Result debug.Value
}

type FramesRequest

type FramesRequest struct {
	Count int
}

type FramesResponse

type FramesResponse struct {
	Frames []debug.Frame
}

type GoroutinesRequest

type GoroutinesRequest struct {
}

type GoroutinesResponse

type GoroutinesResponse struct {
	Goroutines []*debug.Goroutine
}

type MapElementRequest

type MapElementRequest struct {
	Map   debug.Map
	Index uint64
}

type MapElementResponse

type MapElementResponse struct {
	Key   debug.Var
	Value debug.Var
}

type OpenRequest

type OpenRequest struct {
	Name string
	Mode string
}

type OpenResponse

type OpenResponse struct {
	FD int
}

type ReadAtRequest

type ReadAtRequest struct {
	FD     int
	Len    int
	Offset int64
}

type ReadAtResponse

type ReadAtResponse struct {
	Data []byte
}

type ResumeRequest

type ResumeRequest struct {
}

type ResumeResponse

type ResumeResponse struct {
	Status debug.Status
}

type RunRequest

type RunRequest struct {
	Args []string
}

type RunResponse

type RunResponse struct {
	Status debug.Status
}

type ValueRequest

type ValueRequest struct {
	Var debug.Var
}

type ValueResponse

type ValueResponse struct {
	Value debug.Value
}

type VarByNameRequest

type VarByNameRequest struct {
	Name string
}

type VarByNameResponse

type VarByNameResponse struct {
	Var debug.Var
}

type WriteAtRequest

type WriteAtRequest struct {
	FD     int
	Data   []byte
	Offset int64
}

type WriteAtResponse

type WriteAtResponse struct {
	Len int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL