server: changed interface definition and implementation

This commit is contained in:
nadoo committed 2018-11-25 13:18:15 +08:00
1 parent 2813e80a98
commit d37c2e2a35
14 files changed
+207 -240

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ func main() {
log.Fatal(err)
}
go local.ListenAndServe(nil)
go local.ListenAndServe()
}
sigCh := make(chan os.Signal, 1)