2017-01-24 15:09:23 +00:00
|
|
|
package serviceworker
|
|
|
|
|
|
|
|
// 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
|
|
|
)
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventWorkerRegistrationUpdated [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventWorkerRegistrationUpdated struct {
|
2017-01-26 07:28:34 +00:00
|
|
|
Registrations []*Registration `json:"registrations,omitempty"`
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventWorkerVersionUpdated [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventWorkerVersionUpdated struct {
|
2017-01-26 07:28:34 +00:00
|
|
|
Versions []*Version `json:"versions,omitempty"`
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventWorkerErrorReported [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventWorkerErrorReported struct {
|
2017-01-26 07:28:34 +00:00
|
|
|
ErrorMessage *ErrorMessage `json:"errorMessage,omitempty"`
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventTypes all event types in the domain.
|
|
|
|
var EventTypes = []cdp.MethodType{
|
|
|
|
cdp.EventServiceWorkerWorkerRegistrationUpdated,
|
|
|
|
cdp.EventServiceWorkerWorkerVersionUpdated,
|
|
|
|
cdp.EventServiceWorkerWorkerErrorReported,
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|