Documentation ¶
Overview ¶
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences)
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences)
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences)
Index ¶
- type Driver
- func (d *Driver) CreateConsumer(exchangeName string, queueName string, routingKey string, ...) consumer.BrokerConsumerI
- func (d *Driver) CreateConsumerWithClient(exchangeName string, queueName string, routingKey string, ...) (consumer.BrokerConsumerI, producer.BrokerProducerI)
- func (d *Driver) CreateProducer(exchangeName string, serviceName string) producer.BrokerProducerI
- type Interface
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver implements the broker interface
func (*Driver) CreateConsumer ¶
func (d *Driver) CreateConsumer(exchangeName string, queueName string, routingKey string, routingKeyStore keyvaluestore.Interface, serviceName string) consumer.BrokerConsumerI
CreateConsumer creates a consumer with the specified parameters
exchangeName: string, the name of the exchange to which this consumer will bind its queue queueName: string, the name of the queue this consumer will consume messages from routingKey: string, the routingKey this consumer listens to Returns: An object implementing the Consumer interface
func (*Driver) CreateConsumerWithClient ¶ added in v0.0.3
func (d *Driver) CreateConsumerWithClient(exchangeName string, queueName string, routingKey string, routingKeyStore keyvaluestore.Interface, serviceName string) (consumer.BrokerConsumerI, producer.BrokerProducerI)
func (*Driver) CreateProducer ¶
func (d *Driver) CreateProducer(exchangeName string, serviceName string) producer.BrokerProducerI
CreateProducer creates a producer with the specified parameters
exchangeName: string, the name of the exchange to which this producer will publish messages Returns: An object implementing the Producer interface
type Interface ¶
type Interface interface { CreateConsumer(exchangeName string, queueName string, routingKey string, routingKeyStore keyvaluestore.Interface, serviceName string) consumer.BrokerConsumerI CreateConsumerWithClient(exchangeName string, queueName string, routingKey string, routingKeyStore keyvaluestore.Interface, serviceName string) (consumer.BrokerConsumerI, producer.BrokerProducerI) CreateProducer(exchangeName string, serviceName string) producer.BrokerProducerI }
Interface describes the broker driver
Directories ¶
Path | Synopsis |
---|---|
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
|
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. |
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
|
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. |