Update server.go revise redundant line of annotation

Update server.go revise redundant line of annotation
This commit is contained in:
Allen
2023-06-26 22:31:51 +08:00
committed by finley
parent 1a3b32d2d2
commit d25f6e1a43

View File

@@ -50,7 +50,6 @@ func ListenAndServeWithSignal(cfg *Config, handler tcp.Handler) error {
return nil
}
// ListenAndServe binds port and handle requests, blocking until close
// ListenAndServe binds port and handle requests, blocking until close
func ListenAndServe(listener net.Listener, handler tcp.Handler, closeChan <-chan struct{}) {
// listen signal