mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 00:42:43 +08:00
Update server.go revise redundant line of annotation
Update server.go revise redundant line of annotation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user