This commit is contained in:
+7
-3
@@ -35,6 +35,10 @@ func (this *Application) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||
|
||||
//启动实例
|
||||
func (this *Application) Run(router Router) {
|
||||
|
||||
|
||||
|
||||
|
||||
this.Router = router
|
||||
//this.Port = port
|
||||
this.Port = this.Config.GetString("port")
|
||||
@@ -175,9 +179,9 @@ func (this *Application) SetConnectListener(lis func(this *Context) bool) {
|
||||
}
|
||||
|
||||
//网络错误
|
||||
func (this *Application) session(w http.ResponseWriter, req *http.Request) {
|
||||
|
||||
}
|
||||
//func (this *Application) session(w http.ResponseWriter, req *http.Request) {
|
||||
//
|
||||
//}
|
||||
|
||||
//序列化链接
|
||||
func (this *Application) urlSer(url string) (string, []string) {
|
||||
|
||||
Reference in New Issue
Block a user