MCPcopy Create free account
hub / github.com/prometheus/common / protoDecoder

Struct protoDecoder

expfmt/decode.go:84–86  ·  view source on GitHub ↗

protoDecoder implements the Decoder interface for protocol buffers.

Source from the content-addressed store, hash-verified

82
83// protoDecoder implements the Decoder interface for protocol buffers.
84type protoDecoder struct {
85 r io.Reader
86}
87
88// Decode implements the Decoder interface.
89func (d *protoDecoder) Decode(v *dto.MetricFamily) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected