inspector

package
v0.0.0-...-076f285 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetachedEvent

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

type DisableCommand

type DisableCommand struct {
	DestinationTargetID string
	// contains filtered or unexported fields
}

func (*DisableCommand) Initalize

func (c *DisableCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)

func (*DisableCommand) Respond

func (c *DisableCommand) Respond()

func (*DisableCommand) RespondWithError

func (c *DisableCommand) RespondWithError(code shared.ResponseErrorCodes, message string)

type DisableCommandFn

type DisableCommandFn struct {
	// contains filtered or unexported fields
}

func (*DisableCommandFn) Load

func (a *DisableCommandFn) Load() func(DisableCommand)

func (*DisableCommandFn) Store

func (a *DisableCommandFn) Store(fn func(DisableCommand))

type DisableReturn

type DisableReturn struct {
}

type EnableCommand

type EnableCommand struct {
	DestinationTargetID string
	// contains filtered or unexported fields
}

func (*EnableCommand) Initalize

func (c *EnableCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)

func (*EnableCommand) Respond

func (c *EnableCommand) Respond()

func (*EnableCommand) RespondWithError

func (c *EnableCommand) RespondWithError(code shared.ResponseErrorCodes, message string)

type EnableCommandFn

type EnableCommandFn struct {
	// contains filtered or unexported fields
}

func (*EnableCommandFn) Load

func (a *EnableCommandFn) Load() func(EnableCommand)

func (*EnableCommandFn) Store

func (a *EnableCommandFn) Store(fn func(EnableCommand))

type EnableReturn

type EnableReturn struct {
}

type InspectorAgent

type InspectorAgent struct {
	// contains filtered or unexported fields
}

func NewAgent

func NewAgent(conn *shared.Connection) *InspectorAgent

func (*InspectorAgent) FireDetached

func (agent *InspectorAgent) FireDetached(event DetachedEvent)

Dispatchable Events

func (*InspectorAgent) FireDetachedOnTarget

func (agent *InspectorAgent) FireDetachedOnTarget(targetId string, event DetachedEvent)

func (*InspectorAgent) FireTargetCrashed

func (agent *InspectorAgent) FireTargetCrashed()

func (*InspectorAgent) FireTargetCrashedOnTarget

func (agent *InspectorAgent) FireTargetCrashedOnTarget(targetId string)

func (*InspectorAgent) Name

func (agent *InspectorAgent) Name() string

func (*InspectorAgent) ProcessCommand

func (agent *InspectorAgent) ProcessCommand(id int64, targetId string, funcName string, data *json.RawMessage)

func (*InspectorAgent) SetDisableHandler

func (agent *InspectorAgent) SetDisableHandler(handler func(DisableCommand))

func (*InspectorAgent) SetEnableHandler

func (agent *InspectorAgent) SetEnableHandler(handler func(EnableCommand))

Commands Sent From Frontend

type TargetCrashedEvent

type TargetCrashedEvent struct {
}

Jump to

Keyboard shortcuts

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