func (ch *ChannelHost) Close() {
	ch.connHost.IncrChannels(-1)
	ch.Channel.Close()
}
Close allows for manual close of Amqp Channel kept internally.
package rabbitmq
import (
	"errors"
	"sync"
	"github.com/pinpt/go-common/v10/log"
	"github.com/streadway/amqp"
)
type ChannelHost struct {
	Channel       *amqp.Channel
	Confirmations chan amqp.Confirmation
	Errors        chan *amqp.Error
	Backpressure chan bool
	logger        log.Logger
	connHost      *ConnectionHost
	chanLock      *sync.Mutex
}
func NewChannelHost(
	logger log.Logger,
	connHost *ConnectionHost,
	ackable bool) (*ChannelHost, error) {
	if connHost.Connection.IsClosed() {
		return nil, errors.New("can't open a channel - connection is already closed")
	}
	chanHost := &ChannelHost{
		logger:   logger,
		connHost: connHost,
		chanLock: &sync.Mutex{},
	}
	err := chanHost.MakeChannel()
	if err != nil {
		return nil, err
	}
	return chanHost, nil
}