iedc-go/example/main.go
2022-08-20 11:20:03 +08:00

18 lines
232 B
Go

package main
import (
. "code.hoteas.com/golang/hotime"
)
func main() {
appIns := Init("config/config.json")
appIns.SetConnectListener(func(that *Context) (isFinished bool) {
return isFinished
})
appIns.Run(Router{})
}