package serviceworker // AUTOGENERATED. DO NOT EDIT. import ( . "github.com/knq/chromedp/cdp" ) var ( _ BackendNode _ BackendNodeID _ ComputedProperty _ ErrorType _ Frame _ FrameID _ LoaderID _ Message _ MessageError _ MethodType _ Node _ NodeID _ NodeType _ PseudoType _ RGBA _ ShadowRootType _ Timestamp ) type EventWorkerRegistrationUpdated struct { Registrations []*ServiceWorkerRegistration `json:"registrations,omitempty"` } type EventWorkerVersionUpdated struct { Versions []*ServiceWorkerVersion `json:"versions,omitempty"` } type EventWorkerErrorReported struct { ErrorMessage *ServiceWorkerErrorMessage `json:"errorMessage,omitempty"` } // EventTypes is all event types in the domain. var EventTypes = []MethodType{ EventServiceWorkerWorkerRegistrationUpdated, EventServiceWorkerWorkerVersionUpdated, EventServiceWorkerWorkerErrorReported, }