chromedp/cdp/serviceworker/events.go

30 lines
761 B
Go

package serviceworker
// Code generated by chromedp-gen. 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,
}