Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandDisable + const CommandEnable + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventPrefetchStatusUpdated struct + InitiatingFrameID cdp.FrameID + Key *IngAttemptKey + PrefetchStatus PrefetchStatus + PrefetchURL string + RequestID network.RequestID + Status IngStatus + func (v *EventPrefetchStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPrefetchStatusUpdated) UnmarshalJSON(data []byte) error + func (v EventPrefetchStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPrefetchStatusUpdated) MarshalJSON() ([]byte, error) + type EventPreloadEnabledStateUpdated struct + DisabledByBatterySaver bool + DisabledByDataSaver bool + DisabledByHoldbackPrefetchSpeculationRules bool + DisabledByHoldbackPrerenderSpeculationRules bool + DisabledByPreference bool + func (v *EventPreloadEnabledStateUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPreloadEnabledStateUpdated) UnmarshalJSON(data []byte) error + func (v EventPreloadEnabledStateUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPreloadEnabledStateUpdated) MarshalJSON() ([]byte, error) + type EventPreloadingAttemptSourcesUpdated struct + LoaderID cdp.LoaderID + PreloadingAttemptSources []*IngAttemptSource + func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalJSON(data []byte) error + func (v EventPreloadingAttemptSourcesUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPreloadingAttemptSourcesUpdated) MarshalJSON() ([]byte, error) + type EventPrerenderStatusUpdated struct + DisallowedMojoInterface string + Key *IngAttemptKey + MismatchedHeaders []*PrerenderMismatchedHeaders + PrerenderStatus PrerenderFinalStatus + Status IngStatus + func (v *EventPrerenderStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPrerenderStatusUpdated) UnmarshalJSON(data []byte) error + func (v EventPrerenderStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPrerenderStatusUpdated) MarshalJSON() ([]byte, error) + type EventRuleSetRemoved struct + ID RuleSetID + func (v *EventRuleSetRemoved) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventRuleSetRemoved) UnmarshalJSON(data []byte) error + func (v EventRuleSetRemoved) MarshalEasyJSON(w *jwriter.Writer) + func (v EventRuleSetRemoved) MarshalJSON() ([]byte, error) + type EventRuleSetUpdated struct + RuleSet *RuleSet + func (v *EventRuleSetUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventRuleSetUpdated) UnmarshalJSON(data []byte) error + func (v EventRuleSetUpdated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventRuleSetUpdated) MarshalJSON() ([]byte, error) + type IngAttemptKey struct + Action SpeculationAction + LoaderID cdp.LoaderID + TargetHint SpeculationTargetHint + URL string + func (v *IngAttemptKey) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *IngAttemptKey) UnmarshalJSON(data []byte) error + func (v IngAttemptKey) MarshalEasyJSON(w *jwriter.Writer) + func (v IngAttemptKey) MarshalJSON() ([]byte, error) + type IngAttemptSource struct + Key *IngAttemptKey + NodeIDs []cdp.BackendNodeID + RuleSetIDs []RuleSetID + func (v *IngAttemptSource) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *IngAttemptSource) UnmarshalJSON(data []byte) error + func (v IngAttemptSource) MarshalEasyJSON(w *jwriter.Writer) + func (v IngAttemptSource) MarshalJSON() ([]byte, error) + type IngStatus string + const IngStatusFailure + const IngStatusNotSupported + const IngStatusPending + const IngStatusReady + const IngStatusRunning + const IngStatusSuccess + func (t *IngStatus) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *IngStatus) UnmarshalJSON(buf []byte) error + func (t IngStatus) MarshalEasyJSON(out *jwriter.Writer) + func (t IngStatus) MarshalJSON() ([]byte, error) + func (t IngStatus) String() string + type PrefetchStatus string + const PrefetchStatusPrefetchAllowed + const PrefetchStatusPrefetchEvictedAfterCandidateRemoved + const PrefetchStatusPrefetchEvictedForNewerPrefetch + const PrefetchStatusPrefetchFailedIneligibleRedirect + const PrefetchStatusPrefetchFailedInvalidRedirect + const PrefetchStatusPrefetchFailedMIMENotSupported + const PrefetchStatusPrefetchFailedNetError + const PrefetchStatusPrefetchFailedNon2xX + const PrefetchStatusPrefetchFailedPerPageLimitExceeded + const PrefetchStatusPrefetchHeldback + const PrefetchStatusPrefetchIneligibleRetryAfter + const PrefetchStatusPrefetchIsPrivacyDecoy + const PrefetchStatusPrefetchIsStale + const PrefetchStatusPrefetchNotEligibleBatterySaverEnabled + const PrefetchStatusPrefetchNotEligibleBrowserContextOffTheRecord + const PrefetchStatusPrefetchNotEligibleDataSaverEnabled + const PrefetchStatusPrefetchNotEligibleExistingProxy + const PrefetchStatusPrefetchNotEligibleHostIsNonUnique + const PrefetchStatusPrefetchNotEligibleNonDefaultStoragePartition + const PrefetchStatusPrefetchNotEligiblePreloadingDisabled + const PrefetchStatusPrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy + const PrefetchStatusPrefetchNotEligibleSchemeIsNotHTTPS + const PrefetchStatusPrefetchNotEligibleUserHasCookies + const PrefetchStatusPrefetchNotEligibleUserHasServiceWorker + const PrefetchStatusPrefetchNotFinishedInTime + const PrefetchStatusPrefetchNotStarted + const PrefetchStatusPrefetchNotUsedCookiesChanged + const PrefetchStatusPrefetchNotUsedProbeFailed + const PrefetchStatusPrefetchProxyNotAvailable + const PrefetchStatusPrefetchResponseUsed + const PrefetchStatusPrefetchSuccessfulButNotUsed + func (t *PrefetchStatus) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PrefetchStatus) UnmarshalJSON(buf []byte) error + func (t PrefetchStatus) MarshalEasyJSON(out *jwriter.Writer) + func (t PrefetchStatus) MarshalJSON() ([]byte, error) + func (t PrefetchStatus) String() string + type PrerenderFinalStatus string + const PrerenderFinalStatusActivated + const PrerenderFinalStatusActivatedBeforeStarted + const PrerenderFinalStatusActivatedDuringMainFrameNavigation + const PrerenderFinalStatusActivatedInBackground + const PrerenderFinalStatusActivatedWithAuxiliaryBrowsingContexts + const PrerenderFinalStatusActivationFramePolicyNotCompatible + const PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess + const PrerenderFinalStatusActivationNavigationParameterMismatch + const PrerenderFinalStatusActivationURLHasEffectiveURL + const PrerenderFinalStatusAllPrerenderingCanceled + const PrerenderFinalStatusAudioOutputDeviceRequested + const PrerenderFinalStatusBatterySaverEnabled + const PrerenderFinalStatusBlockedByClient + const PrerenderFinalStatusCancelAllHostsForTesting + const PrerenderFinalStatusClientCertRequested + const PrerenderFinalStatusCrossSiteNavigationInInitialNavigation + const PrerenderFinalStatusCrossSiteNavigationInMainFrameNavigation + const PrerenderFinalStatusCrossSiteRedirectInInitialNavigation + const PrerenderFinalStatusCrossSiteRedirectInMainFrameNavigation + const PrerenderFinalStatusDataSaverEnabled + const PrerenderFinalStatusDestroyed + const PrerenderFinalStatusDidFailLoad + const PrerenderFinalStatusDownload + const PrerenderFinalStatusEmbedderHostDisallowed + const PrerenderFinalStatusInactivePageRestriction + const PrerenderFinalStatusInvalidSchemeNavigation + const PrerenderFinalStatusInvalidSchemeRedirect + const PrerenderFinalStatusJavaScriptInterfaceAdded + const PrerenderFinalStatusJavaScriptInterfaceRemoved + const PrerenderFinalStatusLoginAuthRequested + const PrerenderFinalStatusLowEndDevice + const PrerenderFinalStatusMainFrameNavigation + const PrerenderFinalStatusMaxNumOfRunningEagerPrerendersExceeded + const PrerenderFinalStatusMaxNumOfRunningEmbedderPrerendersExceeded + const PrerenderFinalStatusMaxNumOfRunningNonEagerPrerendersExceeded + const PrerenderFinalStatusMemoryLimitExceeded + const PrerenderFinalStatusMemoryPressureAfterTriggered + const PrerenderFinalStatusMemoryPressureOnTrigger + const PrerenderFinalStatusMixedContent + const PrerenderFinalStatusMojoBinderPolicy + const PrerenderFinalStatusNavigationBadHTTPStatus + const PrerenderFinalStatusNavigationNotCommitted + const PrerenderFinalStatusNavigationRequestBlockedByCsp + const PrerenderFinalStatusNavigationRequestNetworkError + const PrerenderFinalStatusPreloadingDisabled + const PrerenderFinalStatusPreloadingUnsupportedByWebContents + const PrerenderFinalStatusPrerenderingDisabledByDevTools + const PrerenderFinalStatusPrerenderingURLHasEffectiveURL + const PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed + const PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled + const PrerenderFinalStatusRedirectedPrerenderingURLHasEffectiveURL + const PrerenderFinalStatusRendererProcessCrashed + const PrerenderFinalStatusRendererProcessKilled + const PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInInitialNavigation + const PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + const PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInInitialNavigation + const PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInMainFrameNavigation + const PrerenderFinalStatusSpeculationRuleRemoved + const PrerenderFinalStatusSslCertificateError + const PrerenderFinalStatusStartFailed + const PrerenderFinalStatusStop + const PrerenderFinalStatusTabClosedByUserGesture + const PrerenderFinalStatusTabClosedWithoutUserGesture + const PrerenderFinalStatusTimeoutBackgrounded + const PrerenderFinalStatusTriggerBackgrounded + const PrerenderFinalStatusTriggerDestroyed + const PrerenderFinalStatusTriggerURLHasEffectiveURL + const PrerenderFinalStatusUaChangeRequiresReload + func (t *PrerenderFinalStatus) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PrerenderFinalStatus) UnmarshalJSON(buf []byte) error + func (t PrerenderFinalStatus) MarshalEasyJSON(out *jwriter.Writer) + func (t PrerenderFinalStatus) MarshalJSON() ([]byte, error) + func (t PrerenderFinalStatus) String() string + type PrerenderMismatchedHeaders struct + ActivationValue string + HeaderName string + InitialValue string + func (v *PrerenderMismatchedHeaders) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PrerenderMismatchedHeaders) UnmarshalJSON(data []byte) error + func (v PrerenderMismatchedHeaders) MarshalEasyJSON(w *jwriter.Writer) + func (v PrerenderMismatchedHeaders) MarshalJSON() ([]byte, error) + type RuleSet struct + BackendNodeID cdp.BackendNodeID + ErrorType RuleSetErrorType + ID RuleSetID + LoaderID cdp.LoaderID + RequestID network.RequestID + SourceText string + URL string + func (v *RuleSet) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RuleSet) UnmarshalJSON(data []byte) error + func (v RuleSet) MarshalEasyJSON(w *jwriter.Writer) + func (v RuleSet) MarshalJSON() ([]byte, error) + type RuleSetErrorType string + const RuleSetErrorTypeInvalidRulesSkipped + const RuleSetErrorTypeSourceIsNotJSONObject + func (t *RuleSetErrorType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *RuleSetErrorType) UnmarshalJSON(buf []byte) error + func (t RuleSetErrorType) MarshalEasyJSON(out *jwriter.Writer) + func (t RuleSetErrorType) MarshalJSON() ([]byte, error) + func (t RuleSetErrorType) String() string + type RuleSetID string + func (t RuleSetID) String() string + type SpeculationAction string + const SpeculationActionPrefetch + const SpeculationActionPrerender + func (t *SpeculationAction) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SpeculationAction) UnmarshalJSON(buf []byte) error + func (t SpeculationAction) MarshalEasyJSON(out *jwriter.Writer) + func (t SpeculationAction) MarshalJSON() ([]byte, error) + func (t SpeculationAction) String() string + type SpeculationTargetHint string + const SpeculationTargetHintBlank + const SpeculationTargetHintSelf + func (t *SpeculationTargetHint) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SpeculationTargetHint) UnmarshalJSON(buf []byte) error + func (t SpeculationTargetHint) MarshalEasyJSON(out *jwriter.Writer) + func (t SpeculationTargetHint) MarshalJSON() ([]byte, error) + func (t SpeculationTargetHint) String() string