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

Struct protoDecoder

expfmt/decode.go:105–108  ·  view source on GitHub ↗

protoDecoder implements the Decoder interface for protocol buffers.

Source from the content-addressed store, hash-verified

103
104// protoDecoder implements the Decoder interface for protocol buffers.
105type protoDecoder struct {
106 r protodelim.Reader
107 s model.ValidationScheme
108}
109
110// Decode implements the Decoder interface.
111func (d *protoDecoder) Decode(v *dto.MetricFamily) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected