package serviceworker
Import Path
github.com/chromedp/cdproto/serviceworker (on go.dev)
Dependency Relation
imports 8 packages, and imported by 2 packages
Involved Source Files
easyjson.go
events.go
Package serviceworker provides the Chrome DevTools Protocol
commands, types, and events for the ServiceWorker domain.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 22)
DeliverPushMessageParams [no description].
Data string
Origin string
RegistrationID RegistrationID
Do executes ServiceWorker.deliverPushMessage against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DeliverPushMessageParams : github.com/chromedp/chromedp.Action
*DeliverPushMessageParams : github.com/chromedp/chromedp.CallAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.EmulateAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.EvaluateAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.KeyAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.MouseAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.NavigateAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.PollAction
*DeliverPushMessageParams : github.com/chromedp/chromedp.QueryAction
DeliverPushMessageParams : github.com/goccy/go-json.Marshaler
*DeliverPushMessageParams : github.com/goccy/go-json.Unmarshaler
DeliverPushMessageParams : github.com/mailru/easyjson.Marshaler
*DeliverPushMessageParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DeliverPushMessageParams : github.com/mailru/easyjson.Unmarshaler
DeliverPushMessageParams : encoding/json.Marshaler
*DeliverPushMessageParams : encoding/json.Unmarshaler
func DeliverPushMessage(origin string, registrationID RegistrationID, data string) *DeliverPushMessageParams
DisableParams [no description].
Do executes ServiceWorker.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
DispatchPeriodicSyncEventParams [no description].
Origin string
RegistrationID RegistrationID
Tag string
Do executes ServiceWorker.dispatchPeriodicSyncEvent against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.Action
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.CallAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.EmulateAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.EvaluateAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.KeyAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.MouseAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.NavigateAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.PollAction
*DispatchPeriodicSyncEventParams : github.com/chromedp/chromedp.QueryAction
DispatchPeriodicSyncEventParams : github.com/goccy/go-json.Marshaler
*DispatchPeriodicSyncEventParams : github.com/goccy/go-json.Unmarshaler
DispatchPeriodicSyncEventParams : github.com/mailru/easyjson.Marshaler
*DispatchPeriodicSyncEventParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DispatchPeriodicSyncEventParams : github.com/mailru/easyjson.Unmarshaler
DispatchPeriodicSyncEventParams : encoding/json.Marshaler
*DispatchPeriodicSyncEventParams : encoding/json.Unmarshaler
func DispatchPeriodicSyncEvent(origin string, registrationID RegistrationID, tag string) *DispatchPeriodicSyncEventParams
DispatchSyncEventParams [no description].
LastChance bool
Origin string
RegistrationID RegistrationID
Tag string
Do executes ServiceWorker.dispatchSyncEvent against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DispatchSyncEventParams : github.com/chromedp/chromedp.Action
*DispatchSyncEventParams : github.com/chromedp/chromedp.CallAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.EmulateAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.EvaluateAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.KeyAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.MouseAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.NavigateAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.PollAction
*DispatchSyncEventParams : github.com/chromedp/chromedp.QueryAction
DispatchSyncEventParams : github.com/goccy/go-json.Marshaler
*DispatchSyncEventParams : github.com/goccy/go-json.Unmarshaler
DispatchSyncEventParams : github.com/mailru/easyjson.Marshaler
*DispatchSyncEventParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DispatchSyncEventParams : github.com/mailru/easyjson.Unmarshaler
DispatchSyncEventParams : encoding/json.Marshaler
*DispatchSyncEventParams : encoding/json.Unmarshaler
func DispatchSyncEvent(origin string, registrationID RegistrationID, tag string, lastChance bool) *DispatchSyncEventParams
EnableParams [no description].
Do executes ServiceWorker.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
ErrorMessage serviceWorker error message.
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-ServiceWorkerErrorMessage
ColumnNumber int64
ErrorMessage string
LineNumber int64
RegistrationID RegistrationID
SourceURL string
VersionID string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ErrorMessage : github.com/goccy/go-json.Marshaler
*ErrorMessage : github.com/goccy/go-json.Unmarshaler
ErrorMessage : github.com/mailru/easyjson.Marshaler
*ErrorMessage : github.com/mailru/easyjson.MarshalerUnmarshaler
*ErrorMessage : github.com/mailru/easyjson.Unmarshaler
ErrorMessage : encoding/json.Marshaler
*ErrorMessage : encoding/json.Unmarshaler
EventWorkerErrorReported [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#event-workerErrorReported
ErrorMessage *ErrorMessage
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventWorkerErrorReported : github.com/goccy/go-json.Marshaler
*EventWorkerErrorReported : github.com/goccy/go-json.Unmarshaler
EventWorkerErrorReported : github.com/mailru/easyjson.Marshaler
*EventWorkerErrorReported : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventWorkerErrorReported : github.com/mailru/easyjson.Unmarshaler
EventWorkerErrorReported : encoding/json.Marshaler
*EventWorkerErrorReported : encoding/json.Unmarshaler
EventWorkerRegistrationUpdated [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#event-workerRegistrationUpdated
Registrations []*Registration
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventWorkerRegistrationUpdated : github.com/goccy/go-json.Marshaler
*EventWorkerRegistrationUpdated : github.com/goccy/go-json.Unmarshaler
EventWorkerRegistrationUpdated : github.com/mailru/easyjson.Marshaler
*EventWorkerRegistrationUpdated : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventWorkerRegistrationUpdated : github.com/mailru/easyjson.Unmarshaler
EventWorkerRegistrationUpdated : encoding/json.Marshaler
*EventWorkerRegistrationUpdated : encoding/json.Unmarshaler
EventWorkerVersionUpdated [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#event-workerVersionUpdated
Versions []*Version
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventWorkerVersionUpdated : github.com/goccy/go-json.Marshaler
*EventWorkerVersionUpdated : github.com/goccy/go-json.Unmarshaler
EventWorkerVersionUpdated : github.com/mailru/easyjson.Marshaler
*EventWorkerVersionUpdated : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventWorkerVersionUpdated : github.com/mailru/easyjson.Unmarshaler
EventWorkerVersionUpdated : encoding/json.Marshaler
*EventWorkerVersionUpdated : encoding/json.Unmarshaler
InspectWorkerParams [no description].
VersionID string
Do executes ServiceWorker.inspectWorker against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*InspectWorkerParams : github.com/chromedp/chromedp.Action
*InspectWorkerParams : github.com/chromedp/chromedp.CallAction
*InspectWorkerParams : github.com/chromedp/chromedp.EmulateAction
*InspectWorkerParams : github.com/chromedp/chromedp.EvaluateAction
*InspectWorkerParams : github.com/chromedp/chromedp.KeyAction
*InspectWorkerParams : github.com/chromedp/chromedp.MouseAction
*InspectWorkerParams : github.com/chromedp/chromedp.NavigateAction
*InspectWorkerParams : github.com/chromedp/chromedp.PollAction
*InspectWorkerParams : github.com/chromedp/chromedp.QueryAction
InspectWorkerParams : github.com/goccy/go-json.Marshaler
*InspectWorkerParams : github.com/goccy/go-json.Unmarshaler
InspectWorkerParams : github.com/mailru/easyjson.Marshaler
*InspectWorkerParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*InspectWorkerParams : github.com/mailru/easyjson.Unmarshaler
InspectWorkerParams : encoding/json.Marshaler
*InspectWorkerParams : encoding/json.Unmarshaler
func InspectWorker(versionID string) *InspectWorkerParams
Registration serviceWorker registration.
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-ServiceWorkerRegistration
IsDeleted bool
RegistrationID RegistrationID
ScopeURL string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Registration : github.com/goccy/go-json.Marshaler
*Registration : github.com/goccy/go-json.Unmarshaler
Registration : github.com/mailru/easyjson.Marshaler
*Registration : github.com/mailru/easyjson.MarshalerUnmarshaler
*Registration : github.com/mailru/easyjson.Unmarshaler
Registration : encoding/json.Marshaler
*Registration : encoding/json.Unmarshaler
RegistrationID [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-RegistrationID
String returns the RegistrationID as string value.
RegistrationID : expvar.Var
RegistrationID : fmt.Stringer
func DeliverPushMessage(origin string, registrationID RegistrationID, data string) *DeliverPushMessageParams
func DispatchPeriodicSyncEvent(origin string, registrationID RegistrationID, tag string) *DispatchPeriodicSyncEventParams
func DispatchSyncEvent(origin string, registrationID RegistrationID, tag string, lastChance bool) *DispatchSyncEventParams
SetForceUpdateOnPageLoadParams [no description].
ForceUpdateOnPageLoad bool
Do executes ServiceWorker.setForceUpdateOnPageLoad against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.Action
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.CallAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.EmulateAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.EvaluateAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.KeyAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.MouseAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.NavigateAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.PollAction
*SetForceUpdateOnPageLoadParams : github.com/chromedp/chromedp.QueryAction
SetForceUpdateOnPageLoadParams : github.com/goccy/go-json.Marshaler
*SetForceUpdateOnPageLoadParams : github.com/goccy/go-json.Unmarshaler
SetForceUpdateOnPageLoadParams : github.com/mailru/easyjson.Marshaler
*SetForceUpdateOnPageLoadParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetForceUpdateOnPageLoadParams : github.com/mailru/easyjson.Unmarshaler
SetForceUpdateOnPageLoadParams : encoding/json.Marshaler
*SetForceUpdateOnPageLoadParams : encoding/json.Unmarshaler
func SetForceUpdateOnPageLoad(forceUpdateOnPageLoad bool) *SetForceUpdateOnPageLoadParams
SkipWaitingParams [no description].
ScopeURL string
Do executes ServiceWorker.skipWaiting against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SkipWaitingParams : github.com/chromedp/chromedp.Action
*SkipWaitingParams : github.com/chromedp/chromedp.CallAction
*SkipWaitingParams : github.com/chromedp/chromedp.EmulateAction
*SkipWaitingParams : github.com/chromedp/chromedp.EvaluateAction
*SkipWaitingParams : github.com/chromedp/chromedp.KeyAction
*SkipWaitingParams : github.com/chromedp/chromedp.MouseAction
*SkipWaitingParams : github.com/chromedp/chromedp.NavigateAction
*SkipWaitingParams : github.com/chromedp/chromedp.PollAction
*SkipWaitingParams : github.com/chromedp/chromedp.QueryAction
SkipWaitingParams : github.com/goccy/go-json.Marshaler
*SkipWaitingParams : github.com/goccy/go-json.Unmarshaler
SkipWaitingParams : github.com/mailru/easyjson.Marshaler
*SkipWaitingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SkipWaitingParams : github.com/mailru/easyjson.Unmarshaler
SkipWaitingParams : encoding/json.Marshaler
*SkipWaitingParams : encoding/json.Unmarshaler
func SkipWaiting(scopeURL string) *SkipWaitingParams
StartWorkerParams [no description].
ScopeURL string
Do executes ServiceWorker.startWorker against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StartWorkerParams : github.com/chromedp/chromedp.Action
*StartWorkerParams : github.com/chromedp/chromedp.CallAction
*StartWorkerParams : github.com/chromedp/chromedp.EmulateAction
*StartWorkerParams : github.com/chromedp/chromedp.EvaluateAction
*StartWorkerParams : github.com/chromedp/chromedp.KeyAction
*StartWorkerParams : github.com/chromedp/chromedp.MouseAction
*StartWorkerParams : github.com/chromedp/chromedp.NavigateAction
*StartWorkerParams : github.com/chromedp/chromedp.PollAction
*StartWorkerParams : github.com/chromedp/chromedp.QueryAction
StartWorkerParams : github.com/goccy/go-json.Marshaler
*StartWorkerParams : github.com/goccy/go-json.Unmarshaler
StartWorkerParams : github.com/mailru/easyjson.Marshaler
*StartWorkerParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StartWorkerParams : github.com/mailru/easyjson.Unmarshaler
StartWorkerParams : encoding/json.Marshaler
*StartWorkerParams : encoding/json.Unmarshaler
func StartWorker(scopeURL string) *StartWorkerParams
StopAllWorkersParams [no description].
Do executes ServiceWorker.stopAllWorkers against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StopAllWorkersParams : github.com/chromedp/chromedp.Action
*StopAllWorkersParams : github.com/chromedp/chromedp.CallAction
*StopAllWorkersParams : github.com/chromedp/chromedp.EmulateAction
*StopAllWorkersParams : github.com/chromedp/chromedp.EvaluateAction
*StopAllWorkersParams : github.com/chromedp/chromedp.KeyAction
*StopAllWorkersParams : github.com/chromedp/chromedp.MouseAction
*StopAllWorkersParams : github.com/chromedp/chromedp.NavigateAction
*StopAllWorkersParams : github.com/chromedp/chromedp.PollAction
*StopAllWorkersParams : github.com/chromedp/chromedp.QueryAction
StopAllWorkersParams : github.com/goccy/go-json.Marshaler
*StopAllWorkersParams : github.com/goccy/go-json.Unmarshaler
StopAllWorkersParams : github.com/mailru/easyjson.Marshaler
*StopAllWorkersParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopAllWorkersParams : github.com/mailru/easyjson.Unmarshaler
StopAllWorkersParams : encoding/json.Marshaler
*StopAllWorkersParams : encoding/json.Unmarshaler
func StopAllWorkers() *StopAllWorkersParams
StopWorkerParams [no description].
VersionID string
Do executes ServiceWorker.stopWorker against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StopWorkerParams : github.com/chromedp/chromedp.Action
*StopWorkerParams : github.com/chromedp/chromedp.CallAction
*StopWorkerParams : github.com/chromedp/chromedp.EmulateAction
*StopWorkerParams : github.com/chromedp/chromedp.EvaluateAction
*StopWorkerParams : github.com/chromedp/chromedp.KeyAction
*StopWorkerParams : github.com/chromedp/chromedp.MouseAction
*StopWorkerParams : github.com/chromedp/chromedp.NavigateAction
*StopWorkerParams : github.com/chromedp/chromedp.PollAction
*StopWorkerParams : github.com/chromedp/chromedp.QueryAction
StopWorkerParams : github.com/goccy/go-json.Marshaler
*StopWorkerParams : github.com/goccy/go-json.Unmarshaler
StopWorkerParams : github.com/mailru/easyjson.Marshaler
*StopWorkerParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopWorkerParams : github.com/mailru/easyjson.Unmarshaler
StopWorkerParams : encoding/json.Marshaler
*StopWorkerParams : encoding/json.Unmarshaler
func StopWorker(versionID string) *StopWorkerParams
UnregisterParams [no description].
ScopeURL string
Do executes ServiceWorker.unregister against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*UnregisterParams : github.com/chromedp/chromedp.Action
*UnregisterParams : github.com/chromedp/chromedp.CallAction
*UnregisterParams : github.com/chromedp/chromedp.EmulateAction
*UnregisterParams : github.com/chromedp/chromedp.EvaluateAction
*UnregisterParams : github.com/chromedp/chromedp.KeyAction
*UnregisterParams : github.com/chromedp/chromedp.MouseAction
*UnregisterParams : github.com/chromedp/chromedp.NavigateAction
*UnregisterParams : github.com/chromedp/chromedp.PollAction
*UnregisterParams : github.com/chromedp/chromedp.QueryAction
UnregisterParams : github.com/goccy/go-json.Marshaler
*UnregisterParams : github.com/goccy/go-json.Unmarshaler
UnregisterParams : github.com/mailru/easyjson.Marshaler
*UnregisterParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*UnregisterParams : github.com/mailru/easyjson.Unmarshaler
UnregisterParams : encoding/json.Marshaler
*UnregisterParams : encoding/json.Unmarshaler
func Unregister(scopeURL string) *UnregisterParams
UpdateRegistrationParams [no description].
ScopeURL string
Do executes ServiceWorker.updateRegistration against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*UpdateRegistrationParams : github.com/chromedp/chromedp.Action
*UpdateRegistrationParams : github.com/chromedp/chromedp.CallAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.EmulateAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.EvaluateAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.KeyAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.MouseAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.NavigateAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.PollAction
*UpdateRegistrationParams : github.com/chromedp/chromedp.QueryAction
UpdateRegistrationParams : github.com/goccy/go-json.Marshaler
*UpdateRegistrationParams : github.com/goccy/go-json.Unmarshaler
UpdateRegistrationParams : github.com/mailru/easyjson.Marshaler
*UpdateRegistrationParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*UpdateRegistrationParams : github.com/mailru/easyjson.Unmarshaler
UpdateRegistrationParams : encoding/json.Marshaler
*UpdateRegistrationParams : encoding/json.Unmarshaler
func UpdateRegistration(scopeURL string) *UpdateRegistrationParams
Version serviceWorker version.
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-ServiceWorkerVersion
ControlledClients []target.ID
RegistrationID RegistrationID
RunningStatus VersionRunningStatus
// The Last-Modified header value of the main script.
// The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.
ScriptURL string
Status VersionStatus
TargetID target.ID
VersionID string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Version : github.com/goccy/go-json.Marshaler
*Version : github.com/goccy/go-json.Unmarshaler
Version : github.com/mailru/easyjson.Marshaler
*Version : github.com/mailru/easyjson.MarshalerUnmarshaler
*Version : github.com/mailru/easyjson.Unmarshaler
Version : encoding/json.Marshaler
*Version : encoding/json.Unmarshaler
VersionRunningStatus [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-ServiceWorkerVersionRunningStatus
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the VersionRunningStatus as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
VersionRunningStatus : github.com/goccy/go-json.Marshaler
*VersionRunningStatus : github.com/goccy/go-json.Unmarshaler
VersionRunningStatus : github.com/mailru/easyjson.Marshaler
*VersionRunningStatus : github.com/mailru/easyjson.MarshalerUnmarshaler
*VersionRunningStatus : github.com/mailru/easyjson.Unmarshaler
VersionRunningStatus : encoding/json.Marshaler
*VersionRunningStatus : encoding/json.Unmarshaler
VersionRunningStatus : expvar.Var
VersionRunningStatus : fmt.Stringer
const VersionRunningStatusRunning
const VersionRunningStatusStarting
const VersionRunningStatusStopped
const VersionRunningStatusStopping
VersionStatus [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#type-ServiceWorkerVersionStatus
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the VersionStatus as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
VersionStatus : github.com/goccy/go-json.Marshaler
*VersionStatus : github.com/goccy/go-json.Unmarshaler
VersionStatus : github.com/mailru/easyjson.Marshaler
*VersionStatus : github.com/mailru/easyjson.MarshalerUnmarshaler
*VersionStatus : github.com/mailru/easyjson.Unmarshaler
VersionStatus : encoding/json.Marshaler
*VersionStatus : encoding/json.Unmarshaler
VersionStatus : expvar.Var
VersionStatus : fmt.Stringer
const VersionStatusActivated
const VersionStatusActivating
const VersionStatusInstalled
const VersionStatusInstalling
const VersionStatusNew
const VersionStatusRedundant
Package-Level Functions (total 13)
DeliverPushMessage [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-deliverPushMessage
parameters:
origin
registrationID
data
Disable [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-disable
DispatchPeriodicSyncEvent [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-dispatchPeriodicSyncEvent
parameters:
origin
registrationID
tag
DispatchSyncEvent [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-dispatchSyncEvent
parameters:
origin
registrationID
tag
lastChance
Enable [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-enable
InspectWorker [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-inspectWorker
parameters:
versionID
SetForceUpdateOnPageLoad [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-setForceUpdateOnPageLoad
parameters:
forceUpdateOnPageLoad
SkipWaiting [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-skipWaiting
parameters:
scopeURL
StartWorker [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-startWorker
parameters:
scopeURL
StopAllWorkers [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-stopAllWorkers
StopWorker [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-stopWorker
parameters:
versionID
Unregister [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-unregister
parameters:
scopeURL
UpdateRegistration [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker#method-updateRegistration
parameters:
scopeURL
Package-Level Constants (total 23)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
VersionRunningStatus values.
VersionRunningStatus values.
VersionRunningStatus values.
VersionRunningStatus values.
VersionStatus values.
VersionStatus values.
VersionStatus values.
VersionStatus values.
VersionStatus values.
VersionStatus values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |