Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindParams ¶
type BindParams struct { Name string Key string Exchange string NoWait bool Args map[string]interface{} }
func NewQueueBindParams ¶
func NewQueueBindParams(name, key, exchange string) BindParams
type Params ¶
type Params struct { Name string QosCount int AutoAck bool Kind string Durable bool Internal bool AutoDelete bool Exclusive bool NoWait bool Args map[string]interface{} }
func NewQueueParams ¶
type Queue ¶
type Queue struct { OnPublishedEvent fnPublish OnNotPublishedEvent fnPublish // contains filtered or unexported fields }
func (*Queue) ErrorConsume ¶
func (*Queue) StartConsume ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewQueueRepository ¶
func NewQueueRepository(conf config.QueueConfig) (*Repository, error)
func (*Repository) ExchangeDeclare ¶
func (q *Repository) ExchangeDeclare(params Params) error
func (*Repository) QueueBind ¶
func (q *Repository) QueueBind(params BindParams) error
func (*Repository) QueueDeclare ¶
func (q *Repository) QueueDeclare(params Params, withErrorQueue bool) (*Queue, error)
Click to show internal directories.
Click to hide internal directories.