Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerInterface ¶
type RabbitMqBroker ¶
type RabbitMqBroker struct {
// contains filtered or unexported fields
}
func NewRabbitMqBroker ¶
func NewRabbitMqBroker(host, port, user, password string) RabbitMqBroker
func (*RabbitMqBroker) Activate ¶
func (r *RabbitMqBroker) Activate()
func (*RabbitMqBroker) GetPoolSize ¶
func (r *RabbitMqBroker) GetPoolSize() int
func (*RabbitMqBroker) Next ¶
func (r *RabbitMqBroker) Next(queryName string) (message.Message, error)
func (*RabbitMqBroker) Send ¶
func (r *RabbitMqBroker) Send(queryName string, msg message.Message) error
func (*RabbitMqBroker) SetPoolSize ¶
func (r *RabbitMqBroker) SetPoolSize(n int)
type RedisBroker ¶
type RedisBroker struct {
// contains filtered or unexported fields
}
func NewRedisBroker ¶
func (*RedisBroker) Activate ¶
func (r *RedisBroker) Activate()
func (*RedisBroker) GetPoolSize ¶
func (r *RedisBroker) GetPoolSize() int
func (*RedisBroker) SetPoolSize ¶
func (r *RedisBroker) SetPoolSize(n int)
Click to show internal directories.
Click to hide internal directories.