tango icon indicating copy to clipboard operation
tango copied to clipboard

This is only a mirror and Moved to https://gitea.com/lunny/tango

Results 9 tango issues
Sort by recently updated
recently updated
newest added

Documenation in http://gobook.io/read/github.com/go-tango/manual-en-US/chapter-05/1-logfile.html response file not found.

doc

memory leak in this case: 24.51MB 1.77% 20.68% 327.24MB 23.58% net/http.readRequest 258.23MB 18.61% 39.29% 283.23MB 20.41% net/textproto.(*Reader).ReadMIMEHeader ![leak](https://user-images.githubusercontent.com/9703404/42548853-d27e9c70-84fb-11e8-9cfa-90aa2177cdcd.png) see more: https://github.com/gorilla/sessions see more: https://pathbox.github.io/2017/05/27/find-the-reason-memory-leak/ Important Note: If you aren't using...

wait_for_investigate

想在Context里注入一些自定义的东西.但是目前无法实现. 是否考虑下Context采用interface的方式,默认返回内置的Context

enhancement

Action is an interface in an middleware and `context.Context` is also an interface. Their are some similar feature between Action and `context.Context`. In tango, we use assert to get the...

假设有以下代码 ``` t := tango.Classic() g := tango.NewGroup() g.Use(tango.Static(tango.StaticOptions{ RootPath: "./admin", Prefix: "/", IndexFiles: []string{"index.html"}, })) t.Group("/admin", g) t.Run(":80") ``` 运行后,无论访问`http://localhost/`还是`http://localhost/admin/`都是404。这个似乎不符合直觉。 从这个代码来说,把 `tango.Static` 的 `Prefix` 设成`/admin`似乎也达成目的。但我这么做的初衷是希望给 `http://localhost/admin/` 做中间件,特别地控制它的权限。

enhancement

例:t.Route("Get:Say", "/hello", contro) 运行后会直接导致panic(空指针异常),直接panic很难定位问题,也没有相应的提示。 希望可以加个更加明显易于定位问题的提示。

enhancement