NewTextParser returns a new TextParser with the provided nameValidationScheme.
(nameValidationScheme model.ValidationScheme)
| 87 | |
| 88 | // NewTextParser returns a new TextParser with the provided nameValidationScheme. |
| 89 | func NewTextParser(nameValidationScheme model.ValidationScheme) TextParser { |
| 90 | return TextParser{scheme: nameValidationScheme} |
| 91 | } |
| 92 | |
| 93 | // TextToMetricFamilies reads 'in' as the simple and flat text-based exchange |
| 94 | // format and creates MetricFamily proto messages. It returns the MetricFamily |
no outgoing calls