decoder

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PathSeparator = "/" // path separator

PathSeparator -

Variables

This section is empty.

Functions

func GetUint32

func GetUint32(r io.Reader) uint32

GetUint32 -

func Uvarint

func Uvarint(r io.ByteReader) uint64

Uvarint -

Types

type Metrics

type Metrics struct {
	Doc  interface{}   // type 0
	Data []MetricsData // type 1
}

Metrics -

func NewMetrics

func NewMetrics() *Metrics

NewMetrics -

func (*Metrics) ReadAllMetrics

func (m *Metrics) ReadAllMetrics(data *[]byte) error

ReadAllMetrics reads all metrics

type MetricsData

type MetricsData struct {
	Block         []byte
	DataPointsMap map[string][]uint64
	NumDeltas     uint32
}

MetricsData -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL