Finish the Abstract of Config.

This commit is contained in:
zicla
2019-04-28 01:25:31 +08:00
parent cd3b487fa8
commit aaf7578290
24 changed files with 371 additions and 339 deletions

View File

@ -7,6 +7,9 @@ import (
)
type Context interface {
//具备响应http请求的能力
http.Handler
//获取数据库链接
GetDB() *gorm.DB
@ -19,9 +22,6 @@ type Context interface {
//获取全局的ControllerMap
GetControllerMap() map[string]IController
//响应http的能力
ServeHTTP(writer http.ResponseWriter, request *http.Request)
//系统安装成功
InstallOk()