Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPService ¶
type AMQPService interface { PublishMessage(ctx context.Context, topic string, message *models.MessagePayload) error ConsumeMessage(ctx context.Context, topic string) (*models.MessagePayload, error) }
func NewAMQPService ¶
func NewAMQPService(amqpURL string, logger *zap.SugaredLogger) (AMQPService, error)
Click to show internal directories.
Click to hide internal directories.