chromedp/cdp/serviceworker/events.go
2017-01-26 14:28:34 +07:00

30 lines
774 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,omitempty"`
}
// EventWorkerVersionUpdated [no description].
type EventWorkerVersionUpdated struct {
Versions []*Version `json:"versions,omitempty"`
}
// EventWorkerErrorReported [no description].
type EventWorkerErrorReported struct {
ErrorMessage *ErrorMessage `json:"errorMessage,omitempty"`
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventServiceWorkerWorkerRegistrationUpdated,
cdp.EventServiceWorkerWorkerVersionUpdated,
cdp.EventServiceWorkerWorkerErrorReported,
}