Documentation ¶ Index ¶ func TenantID(req *http.Request, domainSuffix string, defaultTenant string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func TenantID ¶ func TenantID(req *http.Request, domainSuffix string, defaultTenant string) string TenantID according to the host name accessed by the http request, combined with the configured default tenant name and domain name suffix, returns the tenant name accessed by the user. Types ¶ This section is empty. Source Files ¶ View all Source files request.go Click to show internal directories. Click to hide internal directories.