Releases: go-baa/baa
Releases · go-baa/baa
v1.3.2
- add http2 pusher
usage:
func handle(c *baa.Context) {
if pusher, ok := c.Resp.Pusher(); ok {
err := pusher.Push("/index.css", nil)
log.Println("push: index.css ", err)
err = pusher.Push("/index.js", nil)
log.Println("push: index.js ", err)
}
http.ServeFile(c.Resp, c.Req, "index.html")
}
v1.3.1
remove gopkg.in
1.2.35 remove gopkg.in
fix remoteAddr get error in proxy environment
1.2.34 fix remoteAddr get error in proxy environment
fix url path with two slash
1.2.33 fix url path with two slash
clear go template generated black lines
v1.2.32 clear go template generated black lines
v1.2.31
- fix route error with params has no child
v1.2.30
- optimize route for trailing slash
v1.2.29: Update
- add QueryJSON QueryXML for context
v1.2.28
- add methods for print route table