package
3.5.0
Repository: https://github.com/algorand/indexer.git
Documentation: pkg.go.dev

# Functions

MakeAuth constructs the auth middleware function.
MakeLogger initializes a logger echo.MiddlewareFunc.
MakeMigrationMiddleware constructs the migration middleware.
PrometheusPathMapper404Sink if the status is 404, truncate the path to ensure no personal data is leaked.
PrometheusPathMapperVerbose adds query parameters to the path in addition to the PrometheusPathMapper404Sink.

# Variables

DBUnavailableError is the error returned when a migration is in progress or required.

# Structs

MigrationMiddleware makes sure a 500 error is returned when the IndexerDb has a migration in progress.