memory

package
v1.0.0-rc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2019 License: BSD-2-Clause Imports: 0 Imported by: 0

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.

https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-setPressureNotificationsSuppressed

type SetPressureNotificationsSuppressedResult

type SetPressureNotificationsSuppressedResult struct {
	// Error information related to executing this method
	Err error `json:"-"`
}

SetPressureNotificationsSuppressedResult represents the result of calls to Memory.setPressureNotificationsSuppressed.

https://chromedevtools.github.io/devtools-protocol/tot/Memory/#method-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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL