I can´t help you in terms of "what should you do with your hoceky career", as I never played hockey on any high level. I started playing goalie late and never played organized hockey before. I am old in your point of view and play low level compared to yours, hoping just to play as long as I can. So absolutely not the level of goaltending you are.
From my youth, my main sport was handball. I took it seriously, but quite early, in my 20s, it was obvious, I will never reach the level of play that is necessary to move to the elite rank, no matter how hard I pracitce. My team played usually second national legaue, but for the most of time, I was not the player who could carry team to the wins. Despite I was at captain position for some time. But I enjoyed the game and everything around, realy liked the sport. After years started toughts about retirement, some seasons vere quite good some realy bad (mostly when I was injured or healty scratrch due the performance). When I become one of the old players in team (this means you reached about 30), I had deal with coaches / team manager, that summer break is time to think about comming back for another season or not. When I was back, it was for full season. And inevitably, I get to the poin where I didn´t want do continue. I was 34, played more than 15 seasons in mens team and still it was tough decision. Missed the game for first season off, but I knew it was right move to retire. I remember all those years as great time, but never played that sport again, usually I don´t even watch it (maybe once I went to watch my former team live at stadium). I must admit that I enjoy my low level of hockey more than my last seasons in competitive sport. Should I have finished earlier? That´s what if...
What I am trying to say, when you are down and feel like it doesn´t make sense to continue, better to take some time off, do other things and clear your mind. Then decide what to do. And then, decide what YOU want to do and be sure about it, not coaches, parents or teammates. You have the great advantage in making that decision, if wife, children and daily work are not involved to the decision...yet .