code: func (t Type) String() string {
  	switch t {
  	case CONNECT:
  		return "Connect"
  	case CONNACK:
  		return "Connack"
  	case PUBLISH:
  		return "Publish"
  	case PUBACK:
  		return "Puback"
  	case PUBREC:
  		return "Pubrec"
  	case PUBREL:
  		return "Pubrel"
  	case PUBCOMP:
  		return "Pubcomp"
  	case SUBSCRIBE:
  		return "Subscribe"
  	case SUBACK:
  		return "Suback"
  	case UNSUBSCRIBE:
  		return "Unsubscribe"
  	case UNSUBACK:
  		return "Unsuback"
  	case PINGREQ:
  		return "Pingreq"
  	case PINGRESP:
  		return "Pingresp"
  	case DISCONNECT:
  		return "Disconnect"
  	}
  
  	return "Unknown"
  }
docs: // String returns the type as a string.