Commit 1afe6d33 authored by haoyanbin's avatar haoyanbin

1

parent 35251f7d
...@@ -43,12 +43,12 @@ func main() { ...@@ -43,12 +43,12 @@ func main() {
}) })
//自动结束会话 //自动结束会话
//ticker := time.NewTicker(time.Second * 10) ticker := time.NewTicker(time.Second * 10)
//go func() { go func() {
// for range ticker.C { for range ticker.C {
// //pool.SetEnd() pool.SetEnd()
// } }
//}() }()
mux := http.NewServeMux() mux := http.NewServeMux()
mux.HandleFunc("/", serveHome) mux.HandleFunc("/", serveHome)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment