textDecoder implements the Decoder interface for the text protocol.
| 220 | |
| 221 | // textDecoder implements the Decoder interface for the text protocol. |
| 222 | type textDecoder struct { |
| 223 | r io.Reader |
| 224 | fams map[string]*dto.MetricFamily |
| 225 | s model.ValidationScheme |
| 226 | err error |
| 227 | } |
| 228 | |
| 229 | // Decode implements the Decoder interface. |
| 230 | func (d *textDecoder) Decode(v *dto.MetricFamily) error { |
nothing calls this directly
no outgoing calls
no test coverage detected