Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserCtxKey = "x-user" TenantCtxKey = "x-tenant" DefaultTenant = "default" )
Variables ¶
This section is empty.
Functions ¶
func TenantOrDefault ¶
TenantOrDefault returns the tenant from the context if it exists or the default value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.