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
Click to show internal directories.
Click to hide internal directories.