package
0.0.0-20250213235841-f61c07a733b6
Repository: https://github.com/timmaaaz/ichor.git
Documentation: pkg.go.dev
# Functions
Authenticate validates authentication via the auth service.
Authorize validates authorization via the auth service.
AuthorizeHome executes the specified role and extracts the specified home from the DB if a home id is specified in the call.
AuthorizeProduct executes the specified role and extracts the specified product from the DB if a product id is specified in the call.
AuthorizeUser executes the specified role and extracts the specified user from the DB if a user id is specified in the call.
Basic processes basic authentication logic.
Bearer processes JWT authentication logic.
BeginCommitRollback executes the transaction middleware functionality.
Errors executes the errors middleware functionality.
Logger executes the logger middleware functionality.
Metrics updates program counters using the middleware functionality.
Otel executes the otel middleware functionality.
Panics executes the panic middleware functionality.