Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionContext ¶
type ExecutionContext interface { CreateSubContext(additionalFields map[string]string) ExecutionContext GetActionName() string GetCorrelationID() string GetDefaultLogger() *zerolog.Logger GetToken() *security.JwtToken GetUOW() *repository.UnitOfWork AddLoggerStrFields(strFields map[string]string) Logger(eventType, eventCode string) *zerolog.Logger LoggerEventActionCompletion() *zerolog.Event LogError(err error, errorMessage string) LogJSONParseError(err error) }
ExecutionContext execution context
func NewExecutionContext ¶
func NewExecutionContext(uow *repository.UnitOfWork, token *security.JwtToken, correlationID string, action string, logger zerolog.Logger) ExecutionContext
NewExecutionContext creates new execution context
Click to show internal directories.
Click to hide internal directories.