Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewDelayConsumer ¶
func (*Consumer) OnConnectionErrorReConnection ¶
func (c *Consumer) OnConnectionErrorReConnection()
OnConnectionErrorReConnection 连接错误,自动重连
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewDelayProducer ¶
NewDelayProducer 创建一个新的 Producer 实例
func (*Producer) OnConnectionErrorReConnection ¶
func (p *Producer) OnConnectionErrorReConnection()
OnConnectionErrorReConnection 监听连接错误,自动重连
Click to show internal directories.
Click to hide internal directories.