Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvAppName = "EGO_NAME" // EnvAppName ... EnvAppMode = "EGO_MODE" EnvAppRegion = "EGO_REGION" EnvAppZone = "EGO_ZONE" EnvAppHost = "EGO_HOST" EnvAppInstance = "EGO_INSTANCE" // application unique instance id. EgoDebug = "EGO_DEBUG" EgoConfigPath = "EGO_CONFIG_PATH" EgoLogPath = "EGO_LOG_PATH" EgoLogAddApp = "EGO_LOG_ADD_APP" EgoTraceIDName = "EGO_TRACE_ID_NAME" )
View Source
const ( // KeyRouteConfig ... KeyRouteConfig = "__route_config_" // KeyProviderConfig ... KeyProviderConfig = "__provider_config_" // KeyConsumerConfig ... KeyConsumerConfig = "__consumer_config_" // KeyServiceInfo KeyServiceInfo = "__service_info_" )
View Source
const (
DefaultDeployment = "" // DefaultDeployment ...
)
Variables ¶
This section is empty.
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 // ServiceGovernor service governor ServiceGovernor // ServiceConsumer service consumer ServiceConsumer )
func (ServiceKind) String ¶
func (sk ServiceKind) String() string
Click to show internal directories.
Click to hide internal directories.