Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config Broker broker.Broker Channel *amqp.Channel // Models CartItemsModel model.CartItemsModel CartStatsModel model.CartStatisticsModel // RMQ Components Producer *producer.CartProducer Consumer *consumer.CartConsumer }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.