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

Struct protoDecoder

expfmt/decode.go:138–141  ·  view source on GitHub ↗

protoDecoder implements the Decoder interface for protocol buffers.

Source from the content-addressed store, hash-verified

136
137// protoDecoder implements the Decoder interface for protocol buffers.
138type protoDecoder struct {
139 r protodelim.Reader
140 s model.ValidationScheme
141}
142
143// Decode implements the Decoder interface.
144func (d *protoDecoder) Decode(v *dto.MetricFamily) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected