module

package
v0.0.0-...-a1e175e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 12 Imported by: 0

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

Directories

Path Synopsis
adapters
application
domain
ports

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL