package
0.0.0-20220927092034-f37122a54500
Repository: https://github.com/netobserv/loki-client-go.git
Documentation: pkg.go.dev
# Functions
CompressionTypeFor a given version of the Prometheus remote storage protocol.
ParseProtoReader parses a compressed proto from an io.Reader.
RenderHTTPResponse either responds with json or a rendered html page using the passed in template by checking the Accepts header.
SerializeProtoResponse serializes a protobuf response into an HTTP response.
WriteJSONResponse writes some JSON as a HTTP response.
# Constants
Values for CompressionType.
Values for CompressionType.
Values for CompressionType.
# Type aliases
CompressionType for encoding and decoding requests and responses.