Versions in this module Expand all Collapse all v0 v0.4.1 Sep 15, 2026 v0.4.0 Sep 1, 2026 Changes in this version + func ScopeClause(ctx context.Context) (clause string, args []any) + func ScopeDB(db *gorm.DB, ctx context.Context) *gorm.DB + func TenancyJSON(ctx context.Context) datatypes.JSON + func WithTenant(ctx context.Context, t *ResolvedTenant) context.Context + type ResolvedTenant struct + Dimensions map[string]string + System bool + func FromContext(ctx context.Context) *ResolvedTenant + type Resolver interface + ResolveTenant func(next http.Handler) http.Handler + func NewResolver(cfg config.TenantConfig) Resolver