Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Logger log.Logger Config config.Config UserService app.UseCase UserRepository user.Repository Consumer meesage_broker.Consumer Handler *grpc.Handler CommandsHandler *command_handlers.CommandsHandler Database *gorm.DB }
func NewContainer ¶
func NewContainer(Logger log.Logger, Config config.Config, UserService app.UseCase, UserRepository user.Repository, Consumer meesage_broker.Consumer, Handler *grpc.Handler, CommandsHandler *command_handlers.CommandsHandler, Database *gorm.DB, ) (*Container, error)
Click to show internal directories.
Click to hide internal directories.