inspector

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2017 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

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