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

Struct protoDecoder

expfmt/decode.go:98–101  ·  view source on GitHub ↗

protoDecoder implements the Decoder interface for protocol buffers.

Source from the content-addressed store, hash-verified

96
97// protoDecoder implements the Decoder interface for protocol buffers.
98type protoDecoder struct {
99 r protodelim.Reader
100 s model.ValidationScheme
101}
102
103// Decode implements the Decoder interface.
104func (d *protoDecoder) Decode(v *dto.MetricFamily) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected