mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-14 02:58:36 -07:00
udp: Add basic logging and more comments
This commit is contained in:
@@ -120,8 +120,7 @@ func (s *Server) connState(conn net.Conn, state http.ConnState) {
|
||||
}
|
||||
}
|
||||
|
||||
// Serve creates a new Server and proceeds to block while handling requests
|
||||
// until a graceful shutdown.
|
||||
// Serve runs an HTTP server, blocking until the server has shut down.
|
||||
func (s *Server) Serve() {
|
||||
glog.V(0).Info("Starting HTTP on ", s.config.HTTPListenAddr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user