This commit is contained in:
hoteas
2018-11-14 02:31:08 +00:00
parent 7da74469a5
commit 4057279471
2 changed files with 40 additions and 12 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
package hotime
//控制器
type Ctr map[string]func(this *Context)
type Ctr map[string]Method
type Proj map[string]Ctr
type Router map[string]Proj
type MethodRouter map[string]Method//直接字符串关联函数
type Method func(this *Context)
type CacheIns interface {
//set(key string, value interface{}, time int64)