1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 21:15:56 +00:00

thinking a new way of displaying the README, give no readme hand-written examples, we have the _examples folder already but I should continue creating the new documentation for deep understanding and show a part of it on readme as image(?)

Former-commit-id: 9b6a6bceffb6ae23bf490d78cad31367ca2aa78e
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-12-24 06:24:45 +02:00
parent 2b566d68e8
commit 7f423ba068
5 changed files with 56 additions and 223 deletions

View File

@@ -39,7 +39,7 @@ type Encoding interface {
}
type (
// Config is the configuration for sessions. Please review it well before using sessions.
// Config is the configuration for sessions. Please read it before using sessions.
Config struct {
// Cookie string, the session's client cookie name, for example: "mysessionid"
//
@@ -89,6 +89,8 @@ type (
// Encoding same as Encode and Decode but receives a single instance which
// completes the "CookieEncoder" interface, `Encode` and `Decode` functions.
//
// Defaults to nil.
Encoding Encoding
// Expires the duration of which the cookie must expires (created_time.Add(Expires)).