chromedp/cdp/inspector/events.go
Kenneth Shaw 7fbfef7cf1 Adding synthesized "HAR" domain to protocol generation
* Added "HAR" domain
* Fixed issue with omitempty on domain types
2017-07-02 18:44:34 +07:00

23 lines
568 B
Go

package inspector
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// 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.
}
// EventTargetCrashed fired when debugging target has crashed.
type EventTargetCrashed struct{}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventInspectorDetached,
cdp.EventInspectorTargetCrashed,
}