# Functions
ExtractSamples builds a slice of samples from the provided metric families.
FinalizeOpenMetrics writes the final `# EOF\n` line required by OpenMetrics.
MetricFamilyToOpenMetrics converts a MetricFamily proto message into the OpenMetrics text format and writes the resulting lines to 'out'.
MetricFamilyToText converts a MetricFamily proto message into text format and writes the resulting lines to 'out'.
Negotiate returns the Content-Type based on the given Accept header.
NegotiateIncludingOpenMetrics works like Negotiate but includes FmtOpenMetrics as an option for the result.
NewDecoder returns a new decoder based on the given input format.
NewEncoder returns a new encoder based on content type negotiation.
ResponseFormat extracts the correct format from a HTTP response header.
# Constants
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
The Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
Constants to assemble the Content-Type values for the different wire protocols.
# Structs
DecodeOptions contains options used by the Decoder and in sample extraction.
ParseError signals errors while parsing the simple and flat text-based exchange format.
SampleDecoder wraps a Decoder to extract samples from the metric families decoded by the wrapped Decoder.
TextParser is used to parse the simple and flat text-based exchange format.
# Type aliases
Format specifies the HTTP content type of the different wire protocols.