# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ExtractSchemeAddr extracts the scheme from the address if it is present and returns the trimmed address with it.
ExtractUnixSocket determines whether the provided address contains a unix: prefix.
GetHealthHandler returns a handler that returns the application readiness state.
GetHealthOperation is the operation for getting the health of the app.
GetInfoOperation is the operation for getting a greeting.
GetReadyHandler returns a handler that returns the application readiness state.
GetReadyOperation is the operation for getting the ready state.
GetServiceInfoHandler returns a huma compatible handler that returns the service name, version, and commit.
RateLimitMiddleware creates a global rate limit for all requests, using a maximum of r requests per second and a maximum burst rate of b tokens.
RecursionDetectorMiddleware provides a means to avoid having a distributed querier query itself into oblivion.
RegisterProfiling registers the profiling middleware.
RegisterQueryAPI registers all query related endpoints.
RequestLoggingMiddleware logs all requests received via the including hander chain.
TraceIDMiddleware injects a context into a request managed by [go-gin](https://github.com/gin-gonic/gin) from which logger/traces can be derived.
# Constants
HealthRoute denotes the route / URI path to the health endpoint.
InfoRoute denotes the route / URI path to the info endpoint.
QueryRoute is the route to run a goquery query.
ReadyRoute denotes the route / URI path to the ready endpoint.
SSEQueryRoute runs a goquery query with a return channel for partial results.
Different event types that the query server sends.
Different event types that the query server sends.
Different event types that the query server sends.
ValidationRoute is the route to validate a goquery query.
# Structs
ArgsBodyInput stores the query args to be validated in the body.
ArgsParamsInput stores the query args to be validated in the query parameters.
FinalResult represents the result which is sent after all aggregation of partial results has completed.
HealthOutput returns the output of the health command.
GetInfoOutput is the output of the info request.
GetReadyOutput returns the output of the ready command.
PartialResult represents an update to the results structure.
QueryResultOutput stores the result of a query.
ServiceInfo summarizes the running service's name, version, and commit.
# Type aliases
StreamEventType describes the type of server sent event.