factories

package
v0.0.0-...-31ddaea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 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 Dependencies

type Dependencies struct {
	Config       *config.StorageConfig
	MongoDB      *mongo.Database
	RabbitMQConn *rabbitmq.RabbitMQ
	MongoFactory *MongoFactory
	AwsService   *services.AwsService
}

func GetDependencies

func GetDependencies() *Dependencies

func InitializeDependencies

func InitializeDependencies() *Dependencies

func (*Dependencies) Close

func (x *Dependencies) Close()

type MongoFactory

type MongoFactory struct {
	CloudRepo repositories.CloudRepository
}

func NewMongoFactory

func NewMongoFactory(db *mongo.Database) *MongoFactory

Jump to

Keyboard shortcuts

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