Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SAdminAuth 平台超管,处理跨租户业务 SAdminAuth = "SADMIN" // AdminAuth 租户管理员,处理单一租户业务,必须在租户Token中使用 AdminAuth = "ADMIN" )
View Source
const ( TraceIDHeaderKey = "Trace-Id" TraceSpanIDHeaderKey = "Trace-Span-Id" TokenHeaderKey = "C-Token" TenantIDHeaderKey = "Tenant-Id" )
View Source
const ( CtxLogsVar = "logsVar" CtxTraceIDVar = "traceIDVar" CtxSpanCtxVar = "spanCtxVar" CtxJwtVar = "jwtVar" CtxTenantIDVar = "tenantIDVar" CtxGormDBVar = "gormDBVar" )
View Source
const (
LocalConfigPathPre = "./configs/"
)
View Source
const (
TenantIDField = "TenantID"
)
View Source
const (
TenantIDParamKey = "TenantId"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.