Iris v11.2.2 Release Notes
Release Date: 2019-07-24 // over 4 years ago-
Sessions as middleware:
import "github.com/kataras/iris/sessions"// [...]app := iris.New()sess := sessions.New(sessions.Config{...}) app.Get("/path", func(ctx iris.Context){ session := sessions.Get(ctx) // [work with session...]})
- โ Add
Session.Len() int
to return the total number of stored values/entries. - ๐ Make
Context.HTML
andContext.Text
to accept an optional, variadic,args ...interface{}
input arg(s) too.
๐ Read about the full 11.2 release at: https://dev.to/kataras/iris-version-11-2-released-22bc
๐ The whole documentation lives in one single spot now: https://github.com/kataras/iris/wiki
- โ Add