Design question: tcp server with status web gui

I want to develop a tcp server with a status web gui. The server will have many TCP connections running very long. The Web Status page should show the status of each connection…

E.g. a single tcp connection (=one goroutine) has a struct with many information about the status. How can i read these information of these many running tcp connections in an elegant way (=with as few “locks” as possible)!?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.