chromedp/cdp/serviceworker/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

30 lines
744 B
Go

package serviceworker
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// EventWorkerRegistrationUpdated [no description].
type EventWorkerRegistrationUpdated struct {
Registrations []*Registration `json:"registrations"`
}
// EventWorkerVersionUpdated [no description].
type EventWorkerVersionUpdated struct {
Versions []*Version `json:"versions"`
}
// EventWorkerErrorReported [no description].
type EventWorkerErrorReported struct {
ErrorMessage *ErrorMessage `json:"errorMessage"`
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventServiceWorkerWorkerRegistrationUpdated,
cdp.EventServiceWorkerWorkerVersionUpdated,
cdp.EventServiceWorkerWorkerErrorReported,
}