Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func ErrorHandler() gin.HandlerFunc
ErrorHandler returns a generic error response without exposing tenant internals.
func HostGuardMiddleware ¶
func HostGuardMiddleware() gin.HandlerFunc
HostGuardMiddleware allows only explicit host context.
func TenantMiddleware ¶
TenantMiddleware resolves the current tenant and stores it in request context.
func TenantStatusGuard ¶
func TenantStatusGuard() gin.HandlerFunc
TenantStatusGuard allows only active tenants.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.