inspector

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 3 Imported by: 0

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