encoding

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 5 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteReadScanner

type ByteReadScanner interface {
	io.Reader
	io.ByteScanner
}

ByteReadScanner is capable of reading and scanning bytes.

type UnaggregatedMessageType

type UnaggregatedMessageType int

UnaggregatedMessageType is the unaggregated message type.

const (
	UnknownMessageType UnaggregatedMessageType = iota
	CounterWithMetadatasType
	BatchTimerWithMetadatasType
	GaugeWithMetadatasType
	ForwardedMetricWithMetadataType
	TimedMetricWithMetadataType
	TimedMetricWithMetadatasType
	PassthroughMetricWithMetadataType
)

A list of supported unaggregated message type.

type UnaggregatedMessageUnion

type UnaggregatedMessageUnion struct {
	Type                          UnaggregatedMessageType
	CounterWithMetadatas          unaggregated.CounterWithMetadatas
	BatchTimerWithMetadatas       unaggregated.BatchTimerWithMetadatas
	GaugeWithMetadatas            unaggregated.GaugeWithMetadatas
	ForwardedMetricWithMetadata   aggregated.ForwardedMetricWithMetadata
	TimedMetricWithMetadata       aggregated.TimedMetricWithMetadata
	TimedMetricWithMetadatas      aggregated.TimedMetricWithMetadatas
	PassthroughMetricWithMetadata aggregated.PassthroughMetricWithMetadata
}

UnaggregatedMessageUnion is a union of different types of unaggregated messages. A message union may contain at most one type of message that is determined by the `Type` field of the union, which in turn determines which one of the field in the union contains the corresponding message data.

Directories

Path Synopsis
Package protobuf is a generated GoMock package.
Package protobuf is a generated GoMock package.

Jump to

Keyboard shortcuts

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