Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandEnable + type EnableParams struct + EventTypes []string + func Enable(eventTypes []string) *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 EventTimelineEventAdded struct + Event *TimelineEvent + func (v *EventTimelineEventAdded) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventTimelineEventAdded) UnmarshalJSON(data []byte) error + func (v EventTimelineEventAdded) MarshalEasyJSON(w *jwriter.Writer) + func (v EventTimelineEventAdded) MarshalJSON() ([]byte, error) + type LargestContentfulPaint struct + ElementID string + LoadTime *cdp.TimeSinceEpoch + NodeID cdp.BackendNodeID + RenderTime *cdp.TimeSinceEpoch + Size float64 + URL string + func (v *LargestContentfulPaint) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LargestContentfulPaint) UnmarshalJSON(data []byte) error + func (v LargestContentfulPaint) MarshalEasyJSON(w *jwriter.Writer) + func (v LargestContentfulPaint) MarshalJSON() ([]byte, error) + type LayoutShift struct + HadRecentInput bool + LastInputTime *cdp.TimeSinceEpoch + Sources []*LayoutShiftAttribution + Value float64 + func (v *LayoutShift) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LayoutShift) UnmarshalJSON(data []byte) error + func (v LayoutShift) MarshalEasyJSON(w *jwriter.Writer) + func (v LayoutShift) MarshalJSON() ([]byte, error) + type LayoutShiftAttribution struct + CurrentRect *dom.Rect + NodeID cdp.BackendNodeID + PreviousRect *dom.Rect + func (v *LayoutShiftAttribution) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LayoutShiftAttribution) UnmarshalJSON(data []byte) error + func (v LayoutShiftAttribution) MarshalEasyJSON(w *jwriter.Writer) + func (v LayoutShiftAttribution) MarshalJSON() ([]byte, error) + type TimelineEvent struct + Duration float64 + FrameID cdp.FrameID + LayoutShiftDetails *LayoutShift + LcpDetails *LargestContentfulPaint + Name string + Time *cdp.TimeSinceEpoch + Type string + func (v *TimelineEvent) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *TimelineEvent) UnmarshalJSON(data []byte) error + func (v TimelineEvent) MarshalEasyJSON(w *jwriter.Writer) + func (v TimelineEvent) MarshalJSON() ([]byte, error)