A crowdfunding campaign to safeguard the future of a sailing club has reached its target after more than £30,000 was raised.