Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandEnd + const CommandGetCategories + const CommandRecordClockSyncMarker + const CommandRequestMemoryDump + const CommandStart + type Backend string + const BackendAuto + const BackendChrome + const BackendSystem + func (t *Backend) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *Backend) UnmarshalJSON(buf []byte) error + func (t Backend) MarshalEasyJSON(out *jwriter.Writer) + func (t Backend) MarshalJSON() ([]byte, error) + func (t Backend) String() string + type EndParams struct + func End() *EndParams + func (p *EndParams) Do(ctx context.Context) (err error) + func (v *EndParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EndParams) UnmarshalJSON(data []byte) error + func (v EndParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EndParams) MarshalJSON() ([]byte, error) + type EventBufferUsage struct + EventCount float64 + PercentFull float64 + Value float64 + func (v *EventBufferUsage) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventBufferUsage) UnmarshalJSON(data []byte) error + func (v EventBufferUsage) MarshalEasyJSON(w *jwriter.Writer) + func (v EventBufferUsage) MarshalJSON() ([]byte, error) + type EventDataCollected struct + Value []easyjson.RawMessage + func (v *EventDataCollected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventDataCollected) UnmarshalJSON(data []byte) error + func (v EventDataCollected) MarshalEasyJSON(w *jwriter.Writer) + func (v EventDataCollected) MarshalJSON() ([]byte, error) + type EventTracingComplete struct + DataLossOccurred bool + Stream io.StreamHandle + StreamCompression StreamCompression + TraceFormat StreamFormat + func (v *EventTracingComplete) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventTracingComplete) UnmarshalJSON(data []byte) error + func (v EventTracingComplete) MarshalEasyJSON(w *jwriter.Writer) + func (v EventTracingComplete) MarshalJSON() ([]byte, error) + type GetCategoriesParams struct + func GetCategories() *GetCategoriesParams + func (p *GetCategoriesParams) Do(ctx context.Context) (categories []string, err error) + func (v *GetCategoriesParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCategoriesParams) UnmarshalJSON(data []byte) error + func (v GetCategoriesParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCategoriesParams) MarshalJSON() ([]byte, error) + type GetCategoriesReturns struct + Categories []string + func (v *GetCategoriesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCategoriesReturns) UnmarshalJSON(data []byte) error + func (v GetCategoriesReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCategoriesReturns) MarshalJSON() ([]byte, error) + type MemoryDumpConfig struct + func (v *MemoryDumpConfig) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MemoryDumpConfig) UnmarshalJSON(data []byte) error + func (v MemoryDumpConfig) MarshalEasyJSON(w *jwriter.Writer) + func (v MemoryDumpConfig) MarshalJSON() ([]byte, error) + type MemoryDumpLevelOfDetail string + const MemoryDumpLevelOfDetailBackground + const MemoryDumpLevelOfDetailDetailed + const MemoryDumpLevelOfDetailLight + func (t *MemoryDumpLevelOfDetail) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *MemoryDumpLevelOfDetail) UnmarshalJSON(buf []byte) error + func (t MemoryDumpLevelOfDetail) MarshalEasyJSON(out *jwriter.Writer) + func (t MemoryDumpLevelOfDetail) MarshalJSON() ([]byte, error) + func (t MemoryDumpLevelOfDetail) String() string + type RecordClockSyncMarkerParams struct + SyncID string + func RecordClockSyncMarker(syncID string) *RecordClockSyncMarkerParams + func (p *RecordClockSyncMarkerParams) Do(ctx context.Context) (err error) + func (v *RecordClockSyncMarkerParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RecordClockSyncMarkerParams) UnmarshalJSON(data []byte) error + func (v RecordClockSyncMarkerParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RecordClockSyncMarkerParams) MarshalJSON() ([]byte, error) + type RecordMode string + const RecordModeEchoToConsole + const RecordModeRecordAsMuchAsPossible + const RecordModeRecordContinuously + const RecordModeRecordUntilFull + func (t *RecordMode) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *RecordMode) UnmarshalJSON(buf []byte) error + func (t RecordMode) MarshalEasyJSON(out *jwriter.Writer) + func (t RecordMode) MarshalJSON() ([]byte, error) + func (t RecordMode) String() string + type RequestMemoryDumpParams struct + Deterministic bool + LevelOfDetail MemoryDumpLevelOfDetail + func RequestMemoryDump() *RequestMemoryDumpParams + func (p *RequestMemoryDumpParams) Do(ctx context.Context) (dumpGUID string, success bool, err error) + func (p RequestMemoryDumpParams) WithDeterministic(deterministic bool) *RequestMemoryDumpParams + func (p RequestMemoryDumpParams) WithLevelOfDetail(levelOfDetail MemoryDumpLevelOfDetail) *RequestMemoryDumpParams + func (v *RequestMemoryDumpParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RequestMemoryDumpParams) UnmarshalJSON(data []byte) error + func (v RequestMemoryDumpParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RequestMemoryDumpParams) MarshalJSON() ([]byte, error) + type RequestMemoryDumpReturns struct + DumpGUID string + Success bool + func (v *RequestMemoryDumpReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RequestMemoryDumpReturns) UnmarshalJSON(data []byte) error + func (v RequestMemoryDumpReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v RequestMemoryDumpReturns) MarshalJSON() ([]byte, error) + type StartParams struct + BufferUsageReportingInterval float64 + PerfettoConfig string + StreamCompression StreamCompression + StreamFormat StreamFormat + TraceConfig *TraceConfig + TracingBackend Backend + TransferMode TransferMode + func Start() *StartParams + func (p *StartParams) Do(ctx context.Context) (err error) + func (p StartParams) WithBufferUsageReportingInterval(bufferUsageReportingInterval float64) *StartParams + func (p StartParams) WithPerfettoConfig(perfettoConfig string) *StartParams + func (p StartParams) WithStreamCompression(streamCompression StreamCompression) *StartParams + func (p StartParams) WithStreamFormat(streamFormat StreamFormat) *StartParams + func (p StartParams) WithTraceConfig(traceConfig *TraceConfig) *StartParams + func (p StartParams) WithTracingBackend(tracingBackend Backend) *StartParams + func (p StartParams) WithTransferMode(transferMode TransferMode) *StartParams + func (v *StartParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StartParams) UnmarshalJSON(data []byte) error + func (v StartParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StartParams) MarshalJSON() ([]byte, error) + type StreamCompression string + const StreamCompressionGzip + const StreamCompressionNone + func (t *StreamCompression) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *StreamCompression) UnmarshalJSON(buf []byte) error + func (t StreamCompression) MarshalEasyJSON(out *jwriter.Writer) + func (t StreamCompression) MarshalJSON() ([]byte, error) + func (t StreamCompression) String() string + type StreamFormat string + const StreamFormatJSON + const StreamFormatProto + func (t *StreamFormat) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *StreamFormat) UnmarshalJSON(buf []byte) error + func (t StreamFormat) MarshalEasyJSON(out *jwriter.Writer) + func (t StreamFormat) MarshalJSON() ([]byte, error) + func (t StreamFormat) String() string + type TraceConfig struct + EnableArgumentFilter bool + EnableSampling bool + EnableSystrace bool + ExcludedCategories []string + IncludedCategories []string + MemoryDumpConfig *MemoryDumpConfig + RecordMode RecordMode + SyntheticDelays []string + TraceBufferSizeInKb float64 + func (v *TraceConfig) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *TraceConfig) UnmarshalJSON(data []byte) error + func (v TraceConfig) MarshalEasyJSON(w *jwriter.Writer) + func (v TraceConfig) MarshalJSON() ([]byte, error) + type TransferMode string + const TransferModeReportEvents + const TransferModeReturnAsStream + func (t *TransferMode) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *TransferMode) UnmarshalJSON(buf []byte) error + func (t TransferMode) MarshalEasyJSON(out *jwriter.Writer) + func (t TransferMode) MarshalJSON() ([]byte, error) + func (t TransferMode) String() string