Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserModule ¶
type UserModule struct {
// contains filtered or unexported fields
}
A UserModule is the dependency container for the User module and if the use* flags are set to true, then it returns the concrete implementation of the interface instead of the memory or fake implementation.
func NewUserModule ¶
func NewUserModule(useDatabase bool) *UserModule
New UserModule is the factory method for the UserModule container
func (*UserModule) Done ¶
func (u *UserModule) Done()
Done cleans up all the underlying resources for a graceful shotdown
func (*UserModule) UserAccountUseCase ¶
func (u *UserModule) UserAccountUseCase() usecase_port.UserAccountUseCase
UserAccountUseCase returns the concrete implementation of the UserAccountUseCase
func (*UserModule) UserRegistrationAppService ¶
func (u *UserModule) UserRegistrationAppService() app_svc_port.Registration
UserRegistrationAppService returns the concrete implementation of the Registration service
Click to show internal directories.
Click to hide internal directories.