Documentation
¶
Overview ¶
(experimental)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
(experimental)
func (*Client) GetDOMCounters ¶
func (d *Client) GetDOMCounters() *GetDOMCountersRequest
func (*Client) SetPressureNotificationsSuppressed ¶
func (d *Client) SetPressureNotificationsSuppressed() *SetPressureNotificationsSuppressedRequest
Enable/disable suppressing memory pressure notifications in all processes.
func (*Client) SimulatePressureNotification ¶
func (d *Client) SimulatePressureNotification() *SimulatePressureNotificationRequest
Simulate a memory pressure notification in all processes.
type GetDOMCountersRequest ¶
type GetDOMCountersRequest struct {
// contains filtered or unexported fields
}
func (*GetDOMCountersRequest) Do ¶
func (r *GetDOMCountersRequest) Do() (*GetDOMCountersResult, error)
type GetDOMCountersResult ¶
type PressureLevel ¶
type PressureLevel string
type SetPressureNotificationsSuppressedRequest ¶
type SetPressureNotificationsSuppressedRequest struct {
// contains filtered or unexported fields
}
func (*SetPressureNotificationsSuppressedRequest) Do ¶
func (r *SetPressureNotificationsSuppressedRequest) Do() error
func (*SetPressureNotificationsSuppressedRequest) Suppressed ¶
func (r *SetPressureNotificationsSuppressedRequest) Suppressed(v bool) *SetPressureNotificationsSuppressedRequest
If true, memory pressure notifications will be suppressed.
type SimulatePressureNotificationRequest ¶
type SimulatePressureNotificationRequest struct {
// contains filtered or unexported fields
}
func (*SimulatePressureNotificationRequest) Do ¶
func (r *SimulatePressureNotificationRequest) Do() error
func (*SimulatePressureNotificationRequest) Level ¶
func (r *SimulatePressureNotificationRequest) Level(v PressureLevel) *SimulatePressureNotificationRequest
Memory pressure level of the notification.
Click to show internal directories.
Click to hide internal directories.