mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-01 07:15:34 -04:00
The reality is that if we ever try to encode a Protocol Buffer and it fails, it's likely that such an error is ultimately not a runtime error and should be fixed forthwith. Thusly, we should rename ``Encoder.Encode`` to ``Encoder.MustEncode`` and drop the error return value. |
||
|---|---|---|
| .. | ||
| indexable | ||
| interface.go | ||
| protocol_buffer.go | ||