Versions in this module Expand all Collapse all v0 v0.1.1 Oct 17, 2019 Changes in this version + const CommandAddInspectedHeapObject + const CommandCollectGarbage + const CommandDisable + const CommandEnable + const CommandGetHeapObjectID + const CommandGetObjectByHeapObjectID + const CommandGetSamplingProfile + const CommandStartSampling + const CommandStartTrackingHeapObjects + const CommandStopSampling + const CommandStopTrackingHeapObjects + const CommandTakeHeapSnapshot + type AddInspectedHeapObjectParams struct + HeapObjectID HeapSnapshotObjectID + func AddInspectedHeapObject(heapObjectID HeapSnapshotObjectID) *AddInspectedHeapObjectParams + func (p *AddInspectedHeapObjectParams) Do(ctx context.Context) (err error) + func (v *AddInspectedHeapObjectParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AddInspectedHeapObjectParams) UnmarshalJSON(data []byte) error + func (v AddInspectedHeapObjectParams) MarshalEasyJSON(w *jwriter.Writer) + func (v AddInspectedHeapObjectParams) MarshalJSON() ([]byte, error) + type CollectGarbageParams struct + func CollectGarbage() *CollectGarbageParams + func (p *CollectGarbageParams) Do(ctx context.Context) (err error) + func (v *CollectGarbageParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *CollectGarbageParams) UnmarshalJSON(data []byte) error + func (v CollectGarbageParams) MarshalEasyJSON(w *jwriter.Writer) + func (v CollectGarbageParams) MarshalJSON() ([]byte, error) + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *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 EventAddHeapSnapshotChunk struct + Chunk string + func (v *EventAddHeapSnapshotChunk) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAddHeapSnapshotChunk) UnmarshalJSON(data []byte) error + func (v EventAddHeapSnapshotChunk) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAddHeapSnapshotChunk) MarshalJSON() ([]byte, error) + type EventHeapStatsUpdate struct + StatsUpdate []int64 + func (v *EventHeapStatsUpdate) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventHeapStatsUpdate) UnmarshalJSON(data []byte) error + func (v EventHeapStatsUpdate) MarshalEasyJSON(w *jwriter.Writer) + func (v EventHeapStatsUpdate) MarshalJSON() ([]byte, error) + type EventLastSeenObjectID struct + LastSeenObjectID int64 + Timestamp float64 + func (v *EventLastSeenObjectID) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventLastSeenObjectID) UnmarshalJSON(data []byte) error + func (v EventLastSeenObjectID) MarshalEasyJSON(w *jwriter.Writer) + func (v EventLastSeenObjectID) MarshalJSON() ([]byte, error) + type EventReportHeapSnapshotProgress struct + Done int64 + Finished bool + Total int64 + func (v *EventReportHeapSnapshotProgress) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventReportHeapSnapshotProgress) UnmarshalJSON(data []byte) error + func (v EventReportHeapSnapshotProgress) MarshalEasyJSON(w *jwriter.Writer) + func (v EventReportHeapSnapshotProgress) MarshalJSON() ([]byte, error) + type EventResetProfiles struct + func (v *EventResetProfiles) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventResetProfiles) UnmarshalJSON(data []byte) error + func (v EventResetProfiles) MarshalEasyJSON(w *jwriter.Writer) + func (v EventResetProfiles) MarshalJSON() ([]byte, error) + type GetHeapObjectIDParams struct + ObjectID runtime.RemoteObjectID + func GetHeapObjectID(objectID runtime.RemoteObjectID) *GetHeapObjectIDParams + func (p *GetHeapObjectIDParams) Do(ctx context.Context) (heapSnapshotObjectID HeapSnapshotObjectID, err error) + func (v *GetHeapObjectIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetHeapObjectIDParams) UnmarshalJSON(data []byte) error + func (v GetHeapObjectIDParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetHeapObjectIDParams) MarshalJSON() ([]byte, error) + type GetHeapObjectIDReturns struct + HeapSnapshotObjectID HeapSnapshotObjectID + func (v *GetHeapObjectIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetHeapObjectIDReturns) UnmarshalJSON(data []byte) error + func (v GetHeapObjectIDReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetHeapObjectIDReturns) MarshalJSON() ([]byte, error) + type GetObjectByHeapObjectIDParams struct + ObjectGroup string + ObjectID HeapSnapshotObjectID + func GetObjectByHeapObjectID(objectID HeapSnapshotObjectID) *GetObjectByHeapObjectIDParams + func (p *GetObjectByHeapObjectIDParams) Do(ctx context.Context) (result *runtime.RemoteObject, err error) + func (p GetObjectByHeapObjectIDParams) WithObjectGroup(objectGroup string) *GetObjectByHeapObjectIDParams + func (v *GetObjectByHeapObjectIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetObjectByHeapObjectIDParams) UnmarshalJSON(data []byte) error + func (v GetObjectByHeapObjectIDParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetObjectByHeapObjectIDParams) MarshalJSON() ([]byte, error) + type GetObjectByHeapObjectIDReturns struct + Result *runtime.RemoteObject + func (v *GetObjectByHeapObjectIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetObjectByHeapObjectIDReturns) UnmarshalJSON(data []byte) error + func (v GetObjectByHeapObjectIDReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetObjectByHeapObjectIDReturns) MarshalJSON() ([]byte, error) + type GetSamplingProfileParams struct + func GetSamplingProfile() *GetSamplingProfileParams + func (p *GetSamplingProfileParams) Do(ctx context.Context) (profile *SamplingHeapProfile, 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 *SamplingHeapProfile + 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 HeapSnapshotObjectID string + func (t HeapSnapshotObjectID) String() string + type SamplingHeapProfile struct + Head *SamplingHeapProfileNode + Samples []*SamplingHeapProfileSample + func (v *SamplingHeapProfile) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SamplingHeapProfile) UnmarshalJSON(data []byte) error + func (v SamplingHeapProfile) MarshalEasyJSON(w *jwriter.Writer) + func (v SamplingHeapProfile) MarshalJSON() ([]byte, error) + type SamplingHeapProfileNode struct + CallFrame *runtime.CallFrame + Children []*SamplingHeapProfileNode + ID int64 + SelfSize float64 + func (v *SamplingHeapProfileNode) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SamplingHeapProfileNode) UnmarshalJSON(data []byte) error + func (v SamplingHeapProfileNode) MarshalEasyJSON(w *jwriter.Writer) + func (v SamplingHeapProfileNode) MarshalJSON() ([]byte, error) + type SamplingHeapProfileSample struct + NodeID int64 + Ordinal float64 + Size float64 + func (v *SamplingHeapProfileSample) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SamplingHeapProfileSample) UnmarshalJSON(data []byte) error + func (v SamplingHeapProfileSample) MarshalEasyJSON(w *jwriter.Writer) + func (v SamplingHeapProfileSample) MarshalJSON() ([]byte, error) + type StartSamplingParams struct + SamplingInterval float64 + func StartSampling() *StartSamplingParams + func (p *StartSamplingParams) Do(ctx context.Context) (err error) + func (p StartSamplingParams) WithSamplingInterval(samplingInterval float64) *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 StartTrackingHeapObjectsParams struct + TrackAllocations bool + func StartTrackingHeapObjects() *StartTrackingHeapObjectsParams + func (p *StartTrackingHeapObjectsParams) Do(ctx context.Context) (err error) + func (p StartTrackingHeapObjectsParams) WithTrackAllocations(trackAllocations bool) *StartTrackingHeapObjectsParams + func (v *StartTrackingHeapObjectsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StartTrackingHeapObjectsParams) UnmarshalJSON(data []byte) error + func (v StartTrackingHeapObjectsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StartTrackingHeapObjectsParams) MarshalJSON() ([]byte, error) + type StopSamplingParams struct + func StopSampling() *StopSamplingParams + func (p *StopSamplingParams) Do(ctx context.Context) (profile *SamplingHeapProfile, 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) + type StopSamplingReturns struct + Profile *SamplingHeapProfile + func (v *StopSamplingReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StopSamplingReturns) UnmarshalJSON(data []byte) error + func (v StopSamplingReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v StopSamplingReturns) MarshalJSON() ([]byte, error) + type StopTrackingHeapObjectsParams struct + ReportProgress bool + func StopTrackingHeapObjects() *StopTrackingHeapObjectsParams + func (p *StopTrackingHeapObjectsParams) Do(ctx context.Context) (err error) + func (p StopTrackingHeapObjectsParams) WithReportProgress(reportProgress bool) *StopTrackingHeapObjectsParams + func (v *StopTrackingHeapObjectsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StopTrackingHeapObjectsParams) UnmarshalJSON(data []byte) error + func (v StopTrackingHeapObjectsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StopTrackingHeapObjectsParams) MarshalJSON() ([]byte, error) + type TakeHeapSnapshotParams struct + ReportProgress bool + func TakeHeapSnapshot() *TakeHeapSnapshotParams + func (p *TakeHeapSnapshotParams) Do(ctx context.Context) (err error) + func (p TakeHeapSnapshotParams) WithReportProgress(reportProgress bool) *TakeHeapSnapshotParams + func (v *TakeHeapSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *TakeHeapSnapshotParams) UnmarshalJSON(data []byte) error + func (v TakeHeapSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) + func (v TakeHeapSnapshotParams) MarshalJSON() ([]byte, error)