Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAppConfig ¶
type IAppConfig interface { IConfig GetPprofIP() string GetPprofPort() int GetEndpointIP() string GetEndpointPort() int EachServiceConfig(func(index int, iServiceConfig IServiceConfigInApp) (continued bool)) GetServiceConfigByIndex(index int) (IServiceConfigInApp, bool) AddServiceConfig(iServiceConfig IServiceConfigInApp) GetLogDir() string GetStartServiceIntervalMSec() time.Duration GetStopServiceIntervalMSec() time.Duration GetExitWaitSec() time.Duration Clone() IServiceConfig }
type IClusterGlobalConfig ¶
type IClusterGlobalConfig interface { IGlobalConfig Clone() IClusterGlobalConfig }
type IGlobalConfig ¶
type IGlobalConfig interface {
TidyAndCheck() error
}
type IServiceConfig ¶
type IServiceConfig interface { IConfig Clone() IServiceConfig }
type IServiceConfigInApp ¶
type IServiceConfigInApp interface { GetName() string GetID() ServiceID Clone() IServiceConfigInApp }
type IServiceGlobalConfig ¶
type IServiceGlobalConfig interface { IGlobalConfig Clone() IServiceGlobalConfig }
Click to show internal directories.
Click to hide internal directories.