iedc-go/type.go
2022-03-13 01:48:54 +08:00

9 lines
211 B
Go

package hotime
// Ctr 控制器
type Ctr map[string]Method
type Proj map[string]Ctr
type Router map[string]Proj
type MethodRouter map[string]Method //直接字符串关联函数
type Method func(that *Context)