debug: golang.org/x/debug/server/protocol Index | Files

package protocol

import "golang.org/x/debug/server/protocol"

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

Index

Package Files

protocol.go

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
}

Package protocol imports 2 packages (graph) and is imported by 3 packages. Updated 3 days ago. Refresh now. Tools for package owners.