textDecoder implements the Decoder interface for the text protocol.
| 141 | |
| 142 | // textDecoder implements the Decoder interface for the text protocol. |
| 143 | type textDecoder struct { |
| 144 | r io.Reader |
| 145 | fams map[string]*dto.MetricFamily |
| 146 | s model.ValidationScheme |
| 147 | err error |
| 148 | } |
| 149 | |
| 150 | // Decode implements the Decoder interface. |
| 151 | func (d *textDecoder) Decode(v *dto.MetricFamily) error { |
nothing calls this directly
no outgoing calls
no test coverage detected