chromedp/cdp/inspector/events.go

23 lines
578 B
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package inspector
// AUTOGENERATED. DO NOT EDIT.
import (
2017-01-26 07:28:34 +00:00
cdp "github.com/knq/chromedp/cdp"
2017-01-24 15:09:23 +00:00
)
// EventDetached fired when remote debugging connection is about to be
// terminated. Contains detach reason.
type EventDetached struct {
Reason DetachReason `json:"reason,omitempty"` // The reason why connection has been terminated.
}
// EventTargetCrashed fired when debugging target has crashed.
type EventTargetCrashed struct{}
2017-01-26 07:28:34 +00:00
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventInspectorDetached,
cdp.EventInspectorTargetCrashed,
2017-01-24 15:09:23 +00:00
}