chromedp/cdp/serviceworker/events.go

30 lines
744 B
Go
Raw Normal View History

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 {
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 {
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 {
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
}