Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey string
const ( MC_API_CONTEXT ContextKey = "mc_api_context" MC_CONFIG ContextKey = "mc_config" LOGGER ContextKey = "mc_logger" SCHEDULER ContextKey = "mc_scheduler" STORAGE_DB ContextKey = "mc_storage_db" METRIC_DB ContextKey = "mc_metric_db" BUS ContextKey = "mc_bus" ENTITY_API ContextKey = "mc_entity_api" ENCRYPTION_API ContextKey = "mc_encryption_api" )
type McApiContext ¶
type McApiContext struct { Tenant string `json:"tenant" yaml:"tenant"` UserID string `json:"userId" yaml:"userId"` }
struct used in api request
Click to show internal directories.
Click to hide internal directories.