hotime/type.go

9 lines
211 B
Go
Raw Permalink Normal View History

2017-08-04 08:20:59 +00:00
package hotime
// Ctr 控制器
2018-11-14 02:31:08 +00:00
type Ctr map[string]Method
2017-08-04 08:20:59 +00:00
type Proj map[string]Ctr
type Router map[string]Proj
type MethodRouter map[string]Method //直接字符串关联函数
2018-11-14 02:31:08 +00:00
type Method func(this *Context)