Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { // Register inserts a new account into the repository, that has yet to be activated. Register(models.EmailAddress, models.Password) (models.User, error) Login(models.EmailAddress, models.Password) (jwt.Token, error) }
App provides the interface that maps closely to however you wish to communicate with external components. It may be a one-to-one mapping to a graphql schema or grpc service. Other contexts, or 'domains', should communicate with each other through their APIs.
Click to show internal directories.
Click to hide internal directories.