I'm trying to create a multi-protocol server using Go. One server is an HTTP server, listening on 80. Another, is a custom-made protocol (over TCP) running on port 8088. Is this possible with Go?
For example:
func serveHTTP() { http.ListenAndServe(...) }
func serveCustom() { net.Listen("tcp", ...) }
go serveHTTP()
go serveCustom()