package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ClientHTTPStatusAndError returns error and http status that is "safe" to return to client without exposing any implementation details.
NewPrepopulateMiddleware creates a middleware which will parse incoming http forms.
ResponseJSONMiddleware sets the Content-Type header to JSON if it's not set.
No description provided by the author
StreamClientQueryTagsInterceptor propagates the query tags from the context to gRPC metadata, which eventually ends up as a HTTP2 header.
No description provided by the author
StreamServerQueryTagsInterceptor propagates the query tags from the gRPC metadata back to our context for streaming gRPC requests.
No description provided by the author
UnaryClientQueryTagsInterceptor propagates the query tags from the context to gRPC metadata, which eventually ends up as a HTTP2 header.
No description provided by the author
UnaryServerQueryTagsInterceptor propagates the query tags from the gRPC metadata back to our context for unary gRPC requests.
No description provided by the author
WrapError wraps an error in a protobuf status.
WriteError write a go error with the correct status code.

# Constants

No description provided by the author
No description provided by the author
StatusClientClosedRequest is the status code for when a client request cancellation of an http request.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author