constant

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 0 Imported by: 8

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"
)
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL