Documentation
¶
Overview ¶
Package tenantcontext provides a context key for the tenant.
It is used to store the tenant in the request context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TenantKey is the context key for the tenant TenantKey = &contextKey{"tenant"} // MigrationOptions is the context key for the migration options MigrationOptions = &contextKey{"migration_options"} )
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
ContextKey represents a context key which implements the Stringer interface.
Click to show internal directories.
Click to hide internal directories.