Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSuber ¶
type PubSuber interface { //ConnectToBroker(connectionString string) Publish(ctx context.Context, body []byte, queueName string) error //PublishOnQueue(msg []byte, queueName string) error Subscribe(ctx context.Context, queueName string, consumerName string, handlerFunc func(amqp.Delivery)) error //SubscribeToQueue(queueName string, consumerName string, handlerFunc func(amqp.Delivery)) error Close() }
PubSuber ...
Click to show internal directories.
Click to hide internal directories.