Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandServiceWorkerDeliverPushMessage + const CommandServiceWorkerDisable + const CommandServiceWorkerDispatchPeriodicSyncEvent + const CommandServiceWorkerDispatchSyncEvent + const CommandServiceWorkerEnable + const CommandServiceWorkerInspectWorker + const CommandServiceWorkerSetForceUpdateOnPageLoad + const CommandServiceWorkerSkipWaiting + const CommandServiceWorkerStartWorker + const CommandServiceWorkerStopAllWorkers + const CommandServiceWorkerStopWorker + const CommandServiceWorkerUnregister + const CommandServiceWorkerUpdateRegistration + const EventServiceWorkerWorkerErrorReported + const EventServiceWorkerWorkerRegistrationUpdated + const EventServiceWorkerWorkerVersionUpdated + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type DeliverPushMessageArgs struct + Data string + Origin string + RegistrationID RegistrationID + func (a *DeliverPushMessageArgs) MarshalJSON() ([]byte, error) + func (a *DeliverPushMessageArgs) UnmarshalJSON(b []byte) error + type DeliverPushMessageReply struct + func (a *DeliverPushMessageReply) GetFrameID() string + func (a *DeliverPushMessageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DeliverPushMessageReply) UnmarshalJSON(b []byte) error + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type DispatchPeriodicSyncEventArgs struct + Origin string + RegistrationID RegistrationID + Tag string + func (a *DispatchPeriodicSyncEventArgs) MarshalJSON() ([]byte, error) + func (a *DispatchPeriodicSyncEventArgs) UnmarshalJSON(b []byte) error + type DispatchPeriodicSyncEventReply struct + func (a *DispatchPeriodicSyncEventReply) GetFrameID() string + func (a *DispatchPeriodicSyncEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DispatchPeriodicSyncEventReply) UnmarshalJSON(b []byte) error + type DispatchSyncEventArgs struct + LastChance bool + Origin string + RegistrationID RegistrationID + Tag string + func (a *DispatchSyncEventArgs) MarshalJSON() ([]byte, error) + func (a *DispatchSyncEventArgs) UnmarshalJSON(b []byte) error + type DispatchSyncEventReply struct + func (a *DispatchSyncEventReply) GetFrameID() string + func (a *DispatchSyncEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DispatchSyncEventReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type ErrorMessage struct + ColumnNumber int + ErrorMessage string + LineNumber int + RegistrationID RegistrationID + SourceURL string + VersionID string + type InspectWorkerArgs struct + VersionID string + func (a *InspectWorkerArgs) MarshalJSON() ([]byte, error) + func (a *InspectWorkerArgs) UnmarshalJSON(b []byte) error + type InspectWorkerReply struct + func (a *InspectWorkerReply) GetFrameID() string + func (a *InspectWorkerReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InspectWorkerReply) UnmarshalJSON(b []byte) error + type Registration struct + IsDeleted bool + RegistrationID RegistrationID + ScopeURL string + type RegistrationID string + type SetForceUpdateOnPageLoadArgs struct + ForceUpdateOnPageLoad bool + func (a *SetForceUpdateOnPageLoadArgs) MarshalJSON() ([]byte, error) + func (a *SetForceUpdateOnPageLoadArgs) UnmarshalJSON(b []byte) error + type SetForceUpdateOnPageLoadReply struct + func (a *SetForceUpdateOnPageLoadReply) GetFrameID() string + func (a *SetForceUpdateOnPageLoadReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetForceUpdateOnPageLoadReply) UnmarshalJSON(b []byte) error + type SkipWaitingArgs struct + ScopeURL string + func (a *SkipWaitingArgs) MarshalJSON() ([]byte, error) + func (a *SkipWaitingArgs) UnmarshalJSON(b []byte) error + type SkipWaitingReply struct + func (a *SkipWaitingReply) GetFrameID() string + func (a *SkipWaitingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SkipWaitingReply) UnmarshalJSON(b []byte) error + type StartWorkerArgs struct + ScopeURL string + func (a *StartWorkerArgs) MarshalJSON() ([]byte, error) + func (a *StartWorkerArgs) UnmarshalJSON(b []byte) error + type StartWorkerReply struct + func (a *StartWorkerReply) GetFrameID() string + func (a *StartWorkerReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartWorkerReply) UnmarshalJSON(b []byte) error + type StopAllWorkersArgs struct + func (a *StopAllWorkersArgs) MarshalJSON() ([]byte, error) + func (a *StopAllWorkersArgs) UnmarshalJSON(b []byte) error + type StopAllWorkersReply struct + func (a *StopAllWorkersReply) GetFrameID() string + func (a *StopAllWorkersReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopAllWorkersReply) UnmarshalJSON(b []byte) error + type StopWorkerArgs struct + VersionID string + func (a *StopWorkerArgs) MarshalJSON() ([]byte, error) + func (a *StopWorkerArgs) UnmarshalJSON(b []byte) error + type StopWorkerReply struct + func (a *StopWorkerReply) GetFrameID() string + func (a *StopWorkerReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopWorkerReply) UnmarshalJSON(b []byte) error + type Unmarshaler func() json.Unmarshaler + type UnregisterArgs struct + ScopeURL string + func (a *UnregisterArgs) MarshalJSON() ([]byte, error) + func (a *UnregisterArgs) UnmarshalJSON(b []byte) error + type UnregisterReply struct + func (a *UnregisterReply) GetFrameID() string + func (a *UnregisterReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *UnregisterReply) UnmarshalJSON(b []byte) error + type UpdateRegistrationArgs struct + ScopeURL string + func (a *UpdateRegistrationArgs) MarshalJSON() ([]byte, error) + func (a *UpdateRegistrationArgs) UnmarshalJSON(b []byte) error + type UpdateRegistrationReply struct + func (a *UpdateRegistrationReply) GetFrameID() string + func (a *UpdateRegistrationReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *UpdateRegistrationReply) UnmarshalJSON(b []byte) error + type Version struct + ControlledClients *[]target.ID + RegistrationID RegistrationID + RunningStatus VersionRunningStatus + ScriptLastModified float64 + ScriptResponseTime float64 + ScriptURL string + Status VersionStatus + TargetID target.ID + VersionID string + type VersionRunningStatus string + const VersionRunningStatusNotSet + const VersionRunningStatusRunning + const VersionRunningStatusStarting + const VersionRunningStatusStopped + const VersionRunningStatusStopping + func (e VersionRunningStatus) String() string + func (e VersionRunningStatus) Valid() bool + type VersionStatus string + const VersionStatusActivated + const VersionStatusActivating + const VersionStatusInstalled + const VersionStatusInstalling + const VersionStatusNew + const VersionStatusNotSet + const VersionStatusRedundant + func (e VersionStatus) String() string + func (e VersionStatus) Valid() bool + type WorkerErrorReportedReply struct + ErrorMessage ErrorMessage + func (a *WorkerErrorReportedReply) GetFrameID() string + func (a *WorkerErrorReportedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *WorkerErrorReportedReply) UnmarshalJSON(b []byte) error + type WorkerRegistrationUpdatedReply struct + Registrations []Registration + func (a *WorkerRegistrationUpdatedReply) GetFrameID() string + func (a *WorkerRegistrationUpdatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *WorkerRegistrationUpdatedReply) UnmarshalJSON(b []byte) error + type WorkerVersionUpdatedReply struct + Versions []Version + func (a *WorkerVersionUpdatedReply) GetFrameID() string + func (a *WorkerVersionUpdatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *WorkerVersionUpdatedReply) UnmarshalJSON(b []byte) error