生成代码,逐步进行优化
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
func main() {
|
||||
|
||||
appIns := hotime.Init("example/config/config.json")
|
||||
appIns := hotime.Init("config/config.json")
|
||||
//RESTfull接口适配
|
||||
appIns.SetConnectListener(func(context *hotime.Context) bool {
|
||||
if len(context.RouterString) < 2 || len(context.RouterString) > 3 ||
|
||||
|
||||
Reference in New Issue
Block a user