textDecoder implements the Decoder interface for the text protocol.
| 117 | |
| 118 | // textDecoder implements the Decoder interface for the text protocol. |
| 119 | type textDecoder struct { |
| 120 | r io.Reader |
| 121 | fams map[string]*dto.MetricFamily |
| 122 | err error |
| 123 | } |
| 124 | |
| 125 | // Decode implements the Decoder interface. |
| 126 | func (d *textDecoder) Decode(v *dto.MetricFamily) error { |
nothing calls this directly
no outgoing calls
no test coverage detected