Documentation
¶
Overview ¶
Package memory provides type definitions for use with the Chrome Memory protocol
https://chromedevtools.github.io/devtools-protocol/tot/Memory/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDOMCountersParams ¶
type GetDOMCountersParams struct {
Documents int `json:"documents"`
Nodes int `json:"nodes"`
JsEventListeners int `json:"jsEventListeners"`
}
GetDOMCountersParams represents Memory.getDOMCounters parameters.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-getDOMCounters
type GetDOMCountersResult ¶
type GetDOMCountersResult struct {
// Error information related to executing this method
Err error `json:"-"`
}
GetDOMCountersResult represents the result of calls to Memory.getDOMCounters.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-getDOMCounters
type PrepareForLeakDetectionResult ¶
type PrepareForLeakDetectionResult struct {
// Error information related to executing this method
Err error `json:"-"`
}
PrepareForLeakDetectionResult represents the result of calls to Memory.prepareForLeakDetection.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-prepareForLeakDetection
type PressureLevel ¶
type PressureLevel string
PressureLevel is the memory pressure level.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#type-PressureLevel
type SetPressureNotificationsSuppressedParams ¶
type SetPressureNotificationsSuppressedParams struct {
// If true, memory pressure notifications will be suppressed.
Suppressed bool `json:"suppressed"`
}
SetPressureNotificationsSuppressedParams represents Memory.setPressureNotificationsSuppressed parameters.
type SetPressureNotificationsSuppressedResult ¶
type SetPressureNotificationsSuppressedResult struct {
// Error information related to executing this method
Err error `json:"-"`
}
SetPressureNotificationsSuppressedResult represents the result of calls to Memory.setPressureNotificationsSuppressed.
type SimulatePressureNotificationParams ¶
type SimulatePressureNotificationParams struct {
// Memory pressure level of the notification.
Level PressureLevel `json:"level"`
}
SimulatePressureNotificationParams represents Memory.simulatePressureNotification parameters.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-simulatePressureNotification
type SimulatePressureNotificationResult ¶
type SimulatePressureNotificationResult struct {
// Error information related to executing this method
Err error `json:"-"`
}
SimulatePressureNotificationResult represents the result of calls to Memory.simulatePressureNotification.
https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-simulatePressureNotification