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)!?