code: func ConvertProtoToMessageType(protoMsgType protos.MsgType) message.Type {
  	var msgType message.Type
  	switch protoMsgType {
  	case protos.MsgType_MsgRequest:
  		msgType = message.Request
  	case protos.MsgType_MsgNotify:
  		msgType = message.Notify
  	}
  	return msgType
  }
docs: // ConvertProtoToMessageType converts a protos.MsgType to a message.Type