Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigLoadProcessor ¶ added in v1.5.8
type ConfigLoadProcessor interface { // LoadProcessReferenceConfig customizes ReferenceConfig's params. // LoadProcessReferenceConfig emits on refer reference (event: before-reference-connect, reference-connect-success, reference-connect-fail) LoadProcessReferenceConfig(url *common.URL, event string, errMsg *string) // LoadProcessServiceConfig customizes ServiceConfig's params. // LoadProcessServiceConfig emits on export service (event: before-service-listen, service-listen-success, service-listen-fail) LoadProcessServiceConfig(url *common.URL, event string, errMsg *string) // AfterAllReferencesConnectComplete emits on all references export complete AfterAllReferencesConnectComplete(urls ConfigLoadProcessorURLBinder) // AfterAllServicesListenComplete emits on all services export complete AfterAllServicesListenComplete(urls ConfigLoadProcessorURLBinder) // BeforeShutdown emits on before shutdown BeforeShutdown() }
ConfigLoadProcessor is an extension to give users a chance to customize configs against ReferenceConfig and ServiceConfig during deployment time.
type ConfigLoadProcessorHolder ¶ added in v1.5.8
type ConfigLoadProcessorURLBinder ¶ added in v1.5.8
type ConfigPostProcessor ¶ added in v1.5.6
type ConfigPostProcessor interface { // PostProcessReferenceConfig customizes ReferenceConfig's params. PostProcessReferenceConfig(*common.URL) // PostProcessServiceConfig customizes ServiceConfig's params. PostProcessServiceConfig(*common.URL) }
ConfigPostProcessor is an extension to give users a chance to customize configs against ReferenceConfig and ServiceConfig during deployment time.
Click to show internal directories.
Click to hide internal directories.