Documentation
¶
Overview ¶
Package tenant provides tenant context management for multi-tenancy.
Index ¶
Constants ¶
View Source
const DefaultTenantID = "local"
DefaultTenantID is the default tenant ID for single-tenant mode.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the tenant ID from the context. Returns DefaultTenantID ("local") if not set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.