Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { // NewNotification creates a new Geography interactor NewNotification() Notification }
Factory interface allows us to provide other parts of the system with a way to make instances of our use-case / interactors when they need to
type Notification ¶
type Notification interface { // SendNotification ... SendNotification(ctx context.Context, service, topic, body string) (*domain.Notification, error) }
Notification ...
Click to show internal directories.
Click to hide internal directories.