# Functions

AddCustomDataChanToContext wrap context with ContextFeedbackChanWithCustomData T is a custom data type see context.WithValue Parameters: - context.Context - parent context - ContextFeedbackWithCustomDataChan[T] - channel to put into context Returns: - context.Context is a context with value - bool true if channel is not nil or false.
AddErrShutdownChanToContext wrap context with ContextFeedbackChanWithError see context.WithValue Parameters: - context.Context - parent context - ContextShutdownWithErrorChan - channel to put into context Returns: - context.Context is a context with value - bool true if channel is not nil or false.
AddShutdownChanToContext wrap context with ContextFeedbackChan see context.WithValue Parameters: - context.Context parent context - ContextShutdownChan - channel to put into context Returns: - context.Context is a context with value - bool true if channel is not nil or false.
DefaultErrorHandlerWithShutdown is a default error handler method which catch panic, parse error and send shutdown signal to main container.
No description provided by the author
No description provided by the author
No description provided by the author
NewContextInfo creates a new instance of this context info.
NewContextInfoFromConfig creates a new instance of this context info.
No description provided by the author
NewDefaultContextFactory create a new instance of the factory.
SendShutdownSignal sends interrupt signal up to the context owner Parameters: context.Context is a current context Returns: bool true if signal sends successful or false.
SendShutdownSignalWithErr sends error and interrupt signal up to the context owner Parameters: - context.Context is a current context - error Returns: bool true if signal sends successful or false.
SendSignalWithCustomData sends custom data and interrupt signal up to the context owner Parameters: - context.Context is a current context - T custom data Returns: bool true if signal sends successful or false.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ContextInfo Context information component that provides detail information about execution context: container or/and process.

# Interfaces

No description provided by the author

# Type aliases

ContextValueType an enum to describe specific context feedback channel Possible values: - ContextShutdownChanType - ContextShutdownWithErrorChanType - ContextFeedbackChanWithCustomDataType.