Release 0.2.0
Pre-release
Pre-release
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,
}