Documentation
¶
Overview ¶
Package integrations implements Dogma integration handlers that communicate with external systems on behalf of the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThirdPartyBankIntegrationHandler ¶
type ThirdPartyBankIntegrationHandler struct{}
ThirdPartyBankIntegrationHandler handles commands that interact with a hypothetical third-party bank's API on behalf of the application.
func (ThirdPartyBankIntegrationHandler) Configure ¶
func (ThirdPartyBankIntegrationHandler) Configure(c dogma.IntegrationConfigurer)
Configure configures the behavior of the engine as it relates to this handler.
func (ThirdPartyBankIntegrationHandler) HandleCommand ¶
func (ThirdPartyBankIntegrationHandler) HandleCommand( _ context.Context, s dogma.IntegrationCommandScope, c dogma.Command, ) error
HandleCommand handles a command message that has been routed to this handler.
Click to show internal directories.
Click to hide internal directories.