Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ServiceName .. ServiceName = "onboarding" // TopicVersion ... TopicVersion = "v1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Infrastructure ¶
type Infrastructure interface { database.Repository engagement.ServiceEngagement pubsubmessaging.ServicePubSub }
Infrastructure defines the contract provided by the infrastructure layer It's a combination of interactions with external services/dependencies
func NewInfrastructureInteractor ¶
func NewInfrastructureInteractor() (Infrastructure, error)
NewInfrastructureInteractor initializes a new infrastructure interactor
type Interactor ¶
type Interactor struct { database.Repository engagement.ServiceEngagement pubsubmessaging.ServicePubSub }
Interactor is an implementation of the infrastructure interface It combines each individual service implementation
Click to show internal directories.
Click to hide internal directories.