encoding

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 12

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