Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandClearEvents + const CommandSetRecording + const CommandStartObserving + const CommandStopObserving + type ClearEventsParams struct + Service ServiceName + func ClearEvents(service ServiceName) *ClearEventsParams + func (p *ClearEventsParams) Do(ctx context.Context) (err error) + func (v *ClearEventsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearEventsParams) UnmarshalJSON(data []byte) error + func (v ClearEventsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearEventsParams) MarshalJSON() ([]byte, error) + type Event struct + EventMetadata []*EventMetadata + EventName string + InstanceID string + Origin string + Service ServiceName + ServiceWorkerRegistrationID serviceworker.RegistrationID + StorageKey string + Timestamp *cdp.TimeSinceEpoch + func (v *Event) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Event) UnmarshalJSON(data []byte) error + func (v Event) MarshalEasyJSON(w *jwriter.Writer) + func (v Event) MarshalJSON() ([]byte, error) + type EventBackgroundServiceEventReceived struct + BackgroundServiceEvent *Event + func (v *EventBackgroundServiceEventReceived) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventBackgroundServiceEventReceived) UnmarshalJSON(data []byte) error + func (v EventBackgroundServiceEventReceived) MarshalEasyJSON(w *jwriter.Writer) + func (v EventBackgroundServiceEventReceived) MarshalJSON() ([]byte, error) + type EventMetadata struct + Key string + Value string + func (v *EventMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventMetadata) UnmarshalJSON(data []byte) error + func (v EventMetadata) MarshalEasyJSON(w *jwriter.Writer) + func (v EventMetadata) MarshalJSON() ([]byte, error) + type EventRecordingStateChanged struct + IsRecording bool + Service ServiceName + func (v *EventRecordingStateChanged) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventRecordingStateChanged) UnmarshalJSON(data []byte) error + func (v EventRecordingStateChanged) MarshalEasyJSON(w *jwriter.Writer) + func (v EventRecordingStateChanged) MarshalJSON() ([]byte, error) + type ServiceName string + const ServiceNameBackgroundFetch + const ServiceNameBackgroundSync + const ServiceNameNotifications + const ServiceNamePaymentHandler + const ServiceNamePeriodicBackgroundSync + const ServiceNamePushMessaging + func (t *ServiceName) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ServiceName) UnmarshalJSON(buf []byte) error + func (t ServiceName) MarshalEasyJSON(out *jwriter.Writer) + func (t ServiceName) MarshalJSON() ([]byte, error) + func (t ServiceName) String() string + type SetRecordingParams struct + Service ServiceName + ShouldRecord bool + func SetRecording(shouldRecord bool, service ServiceName) *SetRecordingParams + func (p *SetRecordingParams) Do(ctx context.Context) (err error) + func (v *SetRecordingParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetRecordingParams) UnmarshalJSON(data []byte) error + func (v SetRecordingParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetRecordingParams) MarshalJSON() ([]byte, error) + type StartObservingParams struct + Service ServiceName + func StartObserving(service ServiceName) *StartObservingParams + func (p *StartObservingParams) Do(ctx context.Context) (err error) + func (v *StartObservingParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StartObservingParams) UnmarshalJSON(data []byte) error + func (v StartObservingParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StartObservingParams) MarshalJSON() ([]byte, error) + type StopObservingParams struct + Service ServiceName + func StopObserving(service ServiceName) *StopObservingParams + func (p *StopObservingParams) Do(ctx context.Context) (err error) + func (v *StopObservingParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StopObservingParams) UnmarshalJSON(data []byte) error + func (v StopObservingParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StopObservingParams) MarshalJSON() ([]byte, error)