chromedp/cdp/inspector/events.go

23 lines
585 B
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package inspector
// Code generated by chromedp-gen. DO NOT EDIT.
2017-01-24 15:09:23 +00:00
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"` // The reason why connection has been terminated.
2017-01-24 15:09:23 +00:00
}
// 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
}