Golang目前已经发展成为非常广泛使用的开发语言,如果你开发WEB、后台服务、API,都可以用到golang.
原先我们用go来开发基于web的应用时,一般会用到net/http包,然后在代码中处理大量相同的事情,如:路由、鉴权等。
现在通过Iris-Go,可以方便的帮助你来开发基于web的应用。
4.0.0-alpha.5 -> 4.0.0
Feature request has been implemented: Add layout support for Pug/Jade, example here.
Feature request has been implemented: Forcefully closing a Websocket connection,WebsocketConnection.Disconnect() error.
FIX: WebsocketConnection.Leave() will hang websocket server if .Leave was called manually when the websocket connection has been closed.
FIX: StaticWeb not serving index.html correctly, align the func with the rest of Static funcs also,example added.