Documentation ¶
Index ¶
- func IsDbTimeoutError(err error)
- type Deps
- func (i *Deps) ArticleValidationPublisher() rbschema.ArticleValidationPublisher
- func (i *Deps) Database() *mongo.Database
- func (i *Deps) EventService() events.EventService
- func (i *Deps) EventsCollection() db.Collection
- func (i *Deps) EventsRepository() events.EventsRepository
- func (i *Deps) HttpClient() httpx.HTTPClient
- func (i *Deps) Logger() log.LogRusEntry
- func (i *Deps) OrderService() order.OrderService
- func (i *Deps) OrdersCollection() db.Collection
- func (i *Deps) OrdersRepository() order.OrderRepository
- func (i *Deps) PlacedOrderPublisher() rbschema.PlacedDataPublisher
- func (i *Deps) ProjectionsService() projections.ProjectionsService
- func (i *Deps) SecurityRepository() security.SecurityRepository
- func (i *Deps) SecurityService() security.SecurityService
- func (i *Deps) Service() services.Service
- func (i *Deps) StatusCollection() db.Collection
- func (i *Deps) StatusRepository() status.StatusRepository
- func (i *Deps) StatusService() status.StatusService
- type Injector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDbTimeoutError ¶
func IsDbTimeoutError(err error)
Types ¶
type Deps ¶
type Deps struct { CurrLog log.LogRusEntry CurrHttpClient httpx.HTTPClient CurrDatabase *mongo.Database CurrSecRepo security.SecurityRepository CurrSecSvc security.SecurityService CurrEvtColl db.Collection CurrOrdColl db.Collection CurrStaColl db.Collection CurrEvtRepo events.EventsRepository CurrOrdRepo order.OrderRepository CurrOrdSvc order.OrderService CurrEvtSvc events.EventService CurrStsRepo status.StatusRepository CurrStsSvc status.StatusService CurrPrjSvc projections.ProjectionsService CurrSvc services.Service CurrAVPublisher rbschema.ArticleValidationPublisher CurrPLPublisher rbschema.PlacedDataPublisher }
func (*Deps) ArticleValidationPublisher ¶
func (i *Deps) ArticleValidationPublisher() rbschema.ArticleValidationPublisher
func (*Deps) EventService ¶
func (i *Deps) EventService() events.EventService
func (*Deps) EventsCollection ¶
func (i *Deps) EventsCollection() db.Collection
func (*Deps) EventsRepository ¶
func (i *Deps) EventsRepository() events.EventsRepository
func (*Deps) HttpClient ¶
func (i *Deps) HttpClient() httpx.HTTPClient
func (*Deps) Logger ¶
func (i *Deps) Logger() log.LogRusEntry
func (*Deps) OrderService ¶
func (i *Deps) OrderService() order.OrderService
func (*Deps) OrdersCollection ¶
func (i *Deps) OrdersCollection() db.Collection
func (*Deps) OrdersRepository ¶
func (i *Deps) OrdersRepository() order.OrderRepository
func (*Deps) PlacedOrderPublisher ¶
func (i *Deps) PlacedOrderPublisher() rbschema.PlacedDataPublisher
func (*Deps) ProjectionsService ¶
func (i *Deps) ProjectionsService() projections.ProjectionsService
func (*Deps) SecurityRepository ¶
func (i *Deps) SecurityRepository() security.SecurityRepository
func (*Deps) SecurityService ¶
func (i *Deps) SecurityService() security.SecurityService
func (*Deps) StatusCollection ¶
func (i *Deps) StatusCollection() db.Collection
func (*Deps) StatusRepository ¶
func (i *Deps) StatusRepository() status.StatusRepository
func (*Deps) StatusService ¶
func (i *Deps) StatusService() status.StatusService
type Injector ¶
type Injector interface { Logger() log.LogRusEntry Database() *mongo.Database HttpClient() httpx.HTTPClient SecurityRepository() security.SecurityRepository SecurityService() security.SecurityService EventsCollection() db.Collection EventsRepository() events.EventsRepository EventService() events.EventService OrdersCollection() db.Collection OrdersRepository() order.OrderRepository OrderService() order.OrderService StatusCollection() db.Collection StatusRepository() status.StatusRepository StatusService() status.StatusService ProjectionsService() projections.ProjectionsService Service() services.Service ArticleValidationPublisher() rbschema.ArticleValidationPublisher PlacedOrderPublisher() rbschema.PlacedDataPublisher }
func NewInjector ¶
func NewInjector(log log.LogRusEntry) Injector
Click to show internal directories.
Click to hide internal directories.