2022-07-11 03:07:17 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
. "code.hoteas.com/golang/hotime"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
|
|
|
appIns := Init("config/config.json")
|
2022-07-31 19:40:09 +00:00
|
|
|
appIns.SetConnectListener(func(that *Context) (isFinished bool) {
|
|
|
|
|
|
|
|
return isFinished
|
|
|
|
})
|
2022-08-01 19:02:57 +00:00
|
|
|
|
2022-08-20 03:20:03 +00:00
|
|
|
appIns.Run(Router{})
|
2022-07-11 03:07:17 +00:00
|
|
|
|
|
|
|
}
|