2017-01-24 15:09:23 +00:00
|
|
|
package serviceworker
|
|
|
|
|
2017-07-09 02:05:19 +00:00
|
|
|
// 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
|
|
|
)
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventWorkerRegistrationUpdated [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventWorkerRegistrationUpdated struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
Registrations []*Registration `json:"registrations"`
|
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-07-02 11:44:34 +00:00
|
|
|
Versions []*Version `json:"versions"`
|
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-07-02 11:44:34 +00:00
|
|
|
ErrorMessage *ErrorMessage `json:"errorMessage"`
|
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
|
|
|
}
|