How to optimize?

I have each connection is to poll the server about the available methods

How is it to be done on normal? Comes to mind to make a global map which will store the settings for each service where the key is host+port. But for some reason that I do not like. My subconscious is screaming about the bad code)
July 8th 19 at 16:34
1 answer
July 8th 19 at 16:36

Find more questions by tags Go