Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandForciblyPurgeJavaScriptMemory + const CommandGetAllTimeSamplingProfile + const CommandGetBrowserSamplingProfile + const CommandGetDOMCounters + const CommandGetSamplingProfile + const CommandPrepareForLeakDetection + const CommandSetPressureNotificationsSuppressed + const CommandSimulatePressureNotification + const CommandStartSampling + const CommandStopSampling + type ForciblyPurgeJavaScriptMemoryParams struct + func ForciblyPurgeJavaScriptMemory() *ForciblyPurgeJavaScriptMemoryParams + func (p *ForciblyPurgeJavaScriptMemoryParams) Do(ctx context.Context) (err error) + func (v *ForciblyPurgeJavaScriptMemoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ForciblyPurgeJavaScriptMemoryParams) UnmarshalJSON(data []byte) error + func (v ForciblyPurgeJavaScriptMemoryParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ForciblyPurgeJavaScriptMemoryParams) MarshalJSON() ([]byte, error) + type GetAllTimeSamplingProfileParams struct + func GetAllTimeSamplingProfile() *GetAllTimeSamplingProfileParams + func (p *GetAllTimeSamplingProfileParams) Do(ctx context.Context) (profile *SamplingProfile, err error) + func (v *GetAllTimeSamplingProfileParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetAllTimeSamplingProfileParams) UnmarshalJSON(data []byte) error + func (v GetAllTimeSamplingProfileParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetAllTimeSamplingProfileParams) MarshalJSON() ([]byte, error) + type GetAllTimeSamplingProfileReturns struct + Profile *SamplingProfile + func (v *GetAllTimeSamplingProfileReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetAllTimeSamplingProfileReturns) UnmarshalJSON(data []byte) error + func (v GetAllTimeSamplingProfileReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetAllTimeSamplingProfileReturns) MarshalJSON() ([]byte, error) + type GetBrowserSamplingProfileParams struct + func GetBrowserSamplingProfile() *GetBrowserSamplingProfileParams + func (p *GetBrowserSamplingProfileParams) Do(ctx context.Context) (profile *SamplingProfile, err error) + func (v *GetBrowserSamplingProfileParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetBrowserSamplingProfileParams) UnmarshalJSON(data []byte) error + func (v GetBrowserSamplingProfileParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetBrowserSamplingProfileParams) MarshalJSON() ([]byte, error) + type GetBrowserSamplingProfileReturns struct + Profile *SamplingProfile + func (v *GetBrowserSamplingProfileReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetBrowserSamplingProfileReturns) UnmarshalJSON(data []byte) error + func (v GetBrowserSamplingProfileReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetBrowserSamplingProfileReturns) MarshalJSON() ([]byte, error) + type GetDOMCountersParams struct + func GetDOMCounters() *GetDOMCountersParams + func (p *GetDOMCountersParams) Do(ctx context.Context) (documents int64, nodes int64, jsEventListeners int64, err error) + func (v *GetDOMCountersParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetDOMCountersParams) UnmarshalJSON(data []byte) error + func (v GetDOMCountersParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetDOMCountersParams) MarshalJSON() ([]byte, error) + type GetDOMCountersReturns struct + Documents int64 + JsEventListeners int64 + Nodes int64 + func (v *GetDOMCountersReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetDOMCountersReturns) UnmarshalJSON(data []byte) error + func (v GetDOMCountersReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetDOMCountersReturns) MarshalJSON() ([]byte, error) + type GetSamplingProfileParams struct + func GetSamplingProfile() *GetSamplingProfileParams + func (p *GetSamplingProfileParams) Do(ctx context.Context) (profile *SamplingProfile, err error) + func (v *GetSamplingProfileParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetSamplingProfileParams) UnmarshalJSON(data []byte) error + func (v GetSamplingProfileParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetSamplingProfileParams) MarshalJSON() ([]byte, error) + type GetSamplingProfileReturns struct + Profile *SamplingProfile + func (v *GetSamplingProfileReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetSamplingProfileReturns) UnmarshalJSON(data []byte) error + func (v GetSamplingProfileReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetSamplingProfileReturns) MarshalJSON() ([]byte, error) + type Module struct + BaseAddress string + Name string + Size float64 + UUID string + func (v *Module) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Module) UnmarshalJSON(data []byte) error + func (v Module) MarshalEasyJSON(w *jwriter.Writer) + func (v Module) MarshalJSON() ([]byte, error) + type PrepareForLeakDetectionParams struct + func PrepareForLeakDetection() *PrepareForLeakDetectionParams + func (p *PrepareForLeakDetectionParams) Do(ctx context.Context) (err error) + func (v *PrepareForLeakDetectionParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PrepareForLeakDetectionParams) UnmarshalJSON(data []byte) error + func (v PrepareForLeakDetectionParams) MarshalEasyJSON(w *jwriter.Writer) + func (v PrepareForLeakDetectionParams) MarshalJSON() ([]byte, error) + type PressureLevel string + const PressureLevelCritical + const PressureLevelModerate + func (t *PressureLevel) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PressureLevel) UnmarshalJSON(buf []byte) error + func (t PressureLevel) MarshalEasyJSON(out *jwriter.Writer) + func (t PressureLevel) MarshalJSON() ([]byte, error) + func (t PressureLevel) String() string + type SamplingProfile struct + Modules []*Module + Samples []*SamplingProfileNode + func (v *SamplingProfile) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SamplingProfile) UnmarshalJSON(data []byte) error + func (v SamplingProfile) MarshalEasyJSON(w *jwriter.Writer) + func (v SamplingProfile) MarshalJSON() ([]byte, error) + type SamplingProfileNode struct + Size float64 + Stack []string + Total float64 + func (v *SamplingProfileNode) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SamplingProfileNode) UnmarshalJSON(data []byte) error + func (v SamplingProfileNode) MarshalEasyJSON(w *jwriter.Writer) + func (v SamplingProfileNode) MarshalJSON() ([]byte, error) + type SetPressureNotificationsSuppressedParams struct + Suppressed bool + func SetPressureNotificationsSuppressed(suppressed bool) *SetPressureNotificationsSuppressedParams + func (p *SetPressureNotificationsSuppressedParams) Do(ctx context.Context) (err error) + func (v *SetPressureNotificationsSuppressedParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetPressureNotificationsSuppressedParams) UnmarshalJSON(data []byte) error + func (v SetPressureNotificationsSuppressedParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetPressureNotificationsSuppressedParams) MarshalJSON() ([]byte, error) + type SimulatePressureNotificationParams struct + Level PressureLevel + func SimulatePressureNotification(level PressureLevel) *SimulatePressureNotificationParams + func (p *SimulatePressureNotificationParams) Do(ctx context.Context) (err error) + func (v *SimulatePressureNotificationParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SimulatePressureNotificationParams) UnmarshalJSON(data []byte) error + func (v SimulatePressureNotificationParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SimulatePressureNotificationParams) MarshalJSON() ([]byte, error) + type StartSamplingParams struct + SamplingInterval int64 + SuppressRandomness bool + func StartSampling() *StartSamplingParams + func (p *StartSamplingParams) Do(ctx context.Context) (err error) + func (p StartSamplingParams) WithSamplingInterval(samplingInterval int64) *StartSamplingParams + func (p StartSamplingParams) WithSuppressRandomness(suppressRandomness bool) *StartSamplingParams + func (v *StartSamplingParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StartSamplingParams) UnmarshalJSON(data []byte) error + func (v StartSamplingParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StartSamplingParams) MarshalJSON() ([]byte, error) + type StopSamplingParams struct + func StopSampling() *StopSamplingParams + func (p *StopSamplingParams) Do(ctx context.Context) (err error) + func (v *StopSamplingParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StopSamplingParams) UnmarshalJSON(data []byte) error + func (v StopSamplingParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StopSamplingParams) MarshalJSON() ([]byte, error)