Documentation
¶
Overview ¶
Package echogotenancy adapts GoTenancy tenant middleware to Echo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostGuardMiddleware ¶
func HostGuardMiddleware() echo.MiddlewareFunc
HostGuardMiddleware allows only explicit host context.
func TenantMiddleware ¶
TenantMiddleware resolves the current tenant and stores it in request context.
func TenantStatusGuard ¶
func TenantStatusGuard() echo.MiddlewareFunc
TenantStatusGuard allows only active tenants.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.