Versions in this module Expand all Collapse all v1 v1.60.3 Feb 8, 2024 v1.60.2 Feb 8, 2024 Changes in this version + type Comment struct + Value int64 + type Decoder struct + func NewDecoder(input []byte) *Decoder + func (d *Decoder) FieldEach(fn func(Field) error, filter ...FieldDecoder) error + func (d *Decoder) Reset(input []byte) + type DefaultSampleType struct + Value int64 + type DropFrames struct + Value int64 + type DurationNanos struct + Value int64 + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) Encode(f Field) error + func (e *Encoder) Reset(w io.Writer) + type Field interface + type FieldDecoder int + const CommentDecoder + const DefaultSampleTypeDecoder + const DropFramesDecoder + const DurationNanosDecoder + const FunctionDecoder + const KeepFramesDecoder + const LocationDecoder + const LocationFastDecoder + const MappingDecoder + const PeriodDecoder + const PeriodTypeDecoder + const SampleDecoder + const SampleTypeDecoder + const StringTableDecoder + const TimeNanosDecoder + type Function struct + FileName int64 + ID uint64 + Name int64 + StartLine int64 + SystemName int64 + type KeepFrames struct + Value int64 + type Label struct + Key int64 + Num int64 + NumUnit int64 + Str int64 + type Line struct + FunctionID uint64 + Line int64 + type Location struct + Address uint64 + ID uint64 + IsFolded bool + Line []Line + MappingID uint64 + type LocationFast struct + Data []byte + FunctionID []uint64 + ID uint64 + type Mapping struct + BuildID int64 + FileOffset uint64 + Filename int64 + HasFilenames bool + HasFunctions bool + HasInlineFrames bool + HasLineNumbers bool + ID uint64 + MemoryLimit uint64 + MemoryStart uint64 + type Period struct + Value int64 + type PeriodType struct + type Sample struct + Label []Label + LocationID []uint64 + Value []int64 + type SampleType struct + type StringTable struct + Value []byte + type TimeNanos struct + Value int64 + type ValueType struct + Type int64 + Unit int64