container

package
v0.0.0-...-b8bafe8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

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