code: func newChannel(c *Connection, id uint16) *Channel {
  	return &Channel{
  		connection: c,
  		id:         id,
  		rpc:        make(chan message),
  		consumers:  makeConsumers(),
  		confirms:   newConfirms(),
  		recv:       (*Channel).recvMethod,
  		errors:     make(chan *Error, 1),
  	}
  }
docs: // Constructs a new channel with the given framing rules