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 TodoService app.UseCase TodoRepository todo.Repository Consumer meesage_broker.Consumer CommandsHandler *command_handlers.CommandsHandler Database *gorm.DB Handler *grpc.Handler }
func NewContainer ¶
func NewContainer(Logger log.Logger, Config config.Config, TodoService app.UseCase, TodoRepository todo.Repository, Consumer meesage_broker.Consumer, CommandsHandler *command_handlers.CommandsHandler, Handler *grpc.Handler, Database *gorm.DB, ) (*Container, error)
Click to show internal directories.
Click to hide internal directories.