inspector

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 3 Imported by: 6

Documentation

Overview

Package inspector implements the Inspector domain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conn *rpcc.Conn) *domainClient

NewClient returns a client for the Inspector domain with the connection set to conn.

Types

type DetachedClient

type DetachedClient interface {
	// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
	// triggered, context canceled or connection closed.
	Recv() (*DetachedReply, error)
	rpcc.Stream
}

DetachedClient is a client for Detached events. Fired when remote debugging connection is about to be terminated. Contains detach reason.

type DetachedReply

type DetachedReply struct {
	Reason string `json:"reason"` // The reason why connection has been terminated.
}

DetachedReply is the reply for Detached events.

type TargetCrashedClient

type TargetCrashedClient interface {
	// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
	// triggered, context canceled or connection closed.
	Recv() (*TargetCrashedReply, error)
	rpcc.Stream
}

TargetCrashedClient is a client for TargetCrashed events. Fired when debugging target has crashed

type TargetCrashedReply

type TargetCrashedReply struct {
}

TargetCrashedReply is the reply for TargetCrashed events.

type TargetReloadedAfterCrashClient added in v0.16.1

type TargetReloadedAfterCrashClient interface {
	// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
	// triggered, context canceled or connection closed.
	Recv() (*TargetReloadedAfterCrashReply, error)
	rpcc.Stream
}

TargetReloadedAfterCrashClient is a client for TargetReloadedAfterCrash events. Fired when debugging target has reloaded after crash

type TargetReloadedAfterCrashReply added in v0.16.1

type TargetReloadedAfterCrashReply struct {
}

TargetReloadedAfterCrashReply is the reply for TargetReloadedAfterCrash events.

Jump to

Keyboard shortcuts

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