Skip to content

Releases: go-baa/baa

v1.3.2

27 Dec 08:41
Compare
Choose a tag to compare
  • 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

17 Dec 07:19
Compare
Choose a tag to compare
  • add go.mod
  • Fix github issue url /user/ match "/user/:id" #5
  • implement context.Context

remove gopkg.in

27 Feb 08:26
Compare
Choose a tag to compare
1.2.35

remove gopkg.in

fix remoteAddr get error in proxy environment

27 Feb 08:19
Compare
Choose a tag to compare
1.2.34

fix remoteAddr get error in proxy environment

fix url path with two slash

19 Jan 15:25
Compare
Choose a tag to compare
1.2.33

fix url path with two slash

clear go template generated black lines

31 Jan 09:39
Compare
Choose a tag to compare
v1.2.32

clear go template generated black lines

v1.2.31

15 Dec 14:36
Compare
Choose a tag to compare
  • fix route error with params has no child

v1.2.30

03 Dec 08:20
Compare
Choose a tag to compare
  • optimize route for trailing slash

v1.2.29: Update

26 Oct 09:57
Compare
Choose a tag to compare
  • add QueryJSON QueryXML for context

v1.2.28

28 Jun 12:51
Compare
Choose a tag to compare
  • add methods for print route table