with the slim micro framework which was a Http Restful API but I want to
keep my app real time.
I've been learning the Golang language for a few months now so I've decided
to convert my project to Go and instead of an API use web sockets to keep
it real time instead of long polling. It isn't a chat app but it follows
same characteristics. I wanna have a bunch of hubs and each hub will have
group of connections which will get updates depending on the hub there in
my problem is i'm having trouble figuring out how I should go about this
what i've thought to do is
Make a type struct named hub which will contain a map of connections but i
don't know how ill keep these hubs in order like which connections go where
Each group will have a unique key and be connected to a database to hold
info like the key for the group
I would very much appreciate just opinions and tips on how i should go
about implement this into my project.
Also i'm using gorilla websocket and mux in my project which is helping a
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.