Documentation ¶
Index ¶
- Variables
- type Conn
- type Consumer
- func (co *Consumer) AddHandler(handler Handler)
- func (co *Consumer) ConnectToEMQD(addr string) error
- func (co *Consumer) ConnectToLookupd(addr string) error
- func (co *Consumer) Existing() bool
- func (co *Consumer) GetConns() []*Conn
- func (co *Consumer) OnClose(conn *Conn)
- func (co *Consumer) OnRequeue(msg *Message)
- func (co *Consumer) Stop()
- type Delegate
- type Handler
- type Message
- type Producer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyConnected = errors.New("already connected")
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func (*Consumer) AddHandler ¶
func (*Consumer) ConnectToEMQD ¶
func (*Consumer) ConnectToLookupd ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
Click to show internal directories.
Click to hide internal directories.