> - spinning up a new chatting client goroutine (mainly the quoted code
> in OP) when a new user logs in, then there will be a new net.Conn for
> the client
> - since I'm only doing server side programming and one server needs to
> serve different clients, the only way I can think of is to store
I’m taking a stab at answering, but I didn’t quite follow your intent and may
have misunderstood your question. Please let me know if that’s the case. :)
> I'm having a hard time putting it into my code. Specifically, how to handle
> incoming new chats message and push to all web base clients. W