func (k *ChannelKeeper) Error() <-chan *amqp.Error {
	return k.errorCh
}
Error returns a channel that will receive amqp.Error when it occurs.
package rabbitroutine
import (
	"context"
	"sync"
	"github.com/pkg/errors"
	"github.com/streadway/amqp"
)
type ChannelKeeper struct {
	msgCh     *amqp.Channel
	errorCh   chan *amqp.Error
	confirmCh chan amqp.Confirmation
	returnCh  chan amqp.Return
}
func (k *ChannelKeeper) Channel() *amqp.Channel {
	return k.msgCh
}