Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvKeySentinelLogDir ... EnvKeySentinelLogDir = "SENTINEL_LOG_DIR" // EnvKeySentinelAppName ... EnvKeySentinelAppName = "SENTINEL_APP_NAME" )
EnvKeySentinelLogDir ...
View Source
const ( // EnvAppName ... EnvAppName = "APP_NAME" EnvAppID = "APP_ID" EnvDeployment = "APP_DEPLOYMENT" EnvAppMode = "APP_MODE" EnvAppRegion = "APP_REGION" EnvAppZone = "APP_ZONE" EnvAppHost = "APP_HOST" EnvAppInstance = "APP_INSTANCE" // application unique instance id. EnvPodIP = "POD_IP" //k8s环境 EnvPodNAME = "POD_NAME" //k8s环境 )
EnvAppName ...
View Source
const ( // DefaultDeployment ... DefaultDeployment = "" // DefaultRegion ... DefaultRegion = "" // DefaultZone ... DefaultZone = "" )
DefaultDeployment ...
View Source
const ( // KeyBalanceGroup ... KeyBalanceGroup = "__group" // DefaultBalanceGroup ... DefaultBalanceGroup = "default" )
KeyBalanceGroup ...
View Source
const ( // KeyRouteConfig ... KeyRouteConfig = "__route_config_" // KeyRouteGroup ... KeyRouteGroup = "__route_group_" // KeyProviderConfig ... KeyProviderConfig = "__provider_config_" // KeyConsumerConfig ... KeyConsumerConfig = "__consumer_config_" // KeyServiceInfo KeyServiceInfo = "__service_info_" )
KeyRouteConfig ...
View Source
const ( ModuleInvalid = Module(iota) ModuleClientGrpc ModuleClientResty ModuleClientRedis ModuleClientRocketMQ ModuleClientEtcd ModuleRegistryEtcd ModuleStoreMongoDB ModuleStoreGorm ModuleStoreTableStore )
Variables ¶
View Source
var ( // ConfigPrefix 配置前缀 // ConfigPrefix = "ratel" // DefaultNamespace 默认命名空间 DefaultNamespace = "ratel" )
DefaultNamespace ...
Functions ¶
This section is empty.
Types ¶
type ServiceKind ¶
type ServiceKind uint8
ServiceKind service kind
const ( //ServiceUnknown service non-name ServiceUnknown ServiceKind = iota //ServiceProvider service provider ServiceProvider //ServiceMonitor service monitor ServiceMonitor //ServiceConsumer service consumer ServiceConsumer )
ServiceUnknown ...
Click to show internal directories.
Click to hide internal directories.