Skip to content

Release 0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@acoshift acoshift released this 14 May 17:09
· 236 commits to master since this release
801dad9

Breaking Changes

  • hime.App becomes struct
  • Remove app.Server

Your code must change from

func MakeHandler(app hime.App) http.Handler {
    ...
}

to

func MakeHandler(app *hime.App) http.Handler {
    ...
}

Features

  • Add ListenAndServeTLS
  • Add Server config
  • Move init out from hime.New()

Now you can create App likes normal struct

app := &hime.App{
    IdleTimeout: 10 * time.Minute,
}