# Functions
FormatCompilationTelemetry converts telemetry from its internal representation to a protobuf message.
FormatConnection converts a ConnectionStats into an model.Connection.
FormatConnTelemetry converts telemetry from its internal representation to a protobuf message.
FormatHTTPStats converts the HTTP map into a suitable format for serialization.
GetMarshaler returns the appropriate Marshaler based on the given accept header.
GetUnmarshaler returns the appropriate Unmarshaler based on the given content type.
# Constants
ContentTypeJSON holds the HTML content-type of a JSON payload.
ContentTypeProtobuf holds the HTML content-type of a Protobuf payload.
# Interfaces
Marshaler is an interface implemented by all Connections serializers.
Unmarshaler is an interface implemented by all Connections deserializers.