Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { EventPublisher eventbus.EventPublisher Repository port.Repository }
App implements the App. It has access to how its entities are stored and retrieved through its repositories. Additional repositories may be added here to access other entities. Other external clients are also added here so the domain core remains pure and agnostic of any calls over the network, including other microservices that are part of the same application.
func New ¶
func New(eventPublisher eventbus.EventPublisher, userRepo port.Repository) App
Click to show internal directories.
Click to hide internal directories.