# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Extracts the current goroutine and stack.
No description provided by the author
No description provided by the author
No description provided by the author
Converts `err` to an `*ApiError` if it's not nil.
No description provided by the author
No description provided by the author
Gin middleware for recovering from panics and logging to zerolog.
Extracts stack trace from a `StackTrace` error and returns it Usage: ```go zerolog.ErrorStackMarshaler = StackTraceMarshaller goroutine, stack := GetStack() stacktrace := StackTrace{GoRoutine: goroutine, Stack: stack, Reason: r} log.Info().Err(stacktrace).Msg("An error occurred") ```.
No description provided by the author
No description provided by the author
Enables OpenAPI endpoint `/openapi.json` and Swagger UI endpoint `/docs`.
Configures OpenTelemetry for tracing and adds a middleware that traces incoming requests.
Configures OpenTelemetry for tracing that integrates with AWS X-Ray and adds a middleware that traces incoming requests.
# Constants
Exporting constants to avoid hardcoding these all over, and ending up with a uppercase "POST" bug in the future.
Exporting constants to avoid hardcoding these all over, and ending up with a uppercase "POST" bug in the future.
Exporting constants to avoid hardcoding these all over, and ending up with a uppercase "POST" bug in the future.
Exporting constants to avoid hardcoding these all over, and ending up with a uppercase "POST" bug in the future.
Exporting constants to avoid hardcoding these all over, and ending up with a uppercase "POST" bug in the future.
# Structs
Server response status code and associated error message.
No description provided by the author
No description provided by the author
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