1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 02:47:04 +00:00
Former-commit-id: e4f9dfbdfe16c9ca1ad84ac5a844a5d060fb3b5e
This commit is contained in:
kataras
2017-06-07 22:14:13 +03:00
parent 6282a71a6f
commit 5e00c50c37
6 changed files with 432 additions and 5 deletions

View File

@@ -1,13 +1,16 @@
package main
import (
// developers can use any library to add a custom cookie encoder/decoder.
// At this example we use the gorilla's securecookie library:
"github.com/gorilla/securecookie"
// developers can use any library to add a custom cookie encoder/decoder.
// At this example we use the gorilla's securecookie package:
// $ go get github.com/gorilla/securecookie
// $ go run main.go
import (
"github.com/kataras/iris"
"github.com/kataras/iris/context"
"github.com/kataras/iris/sessions"
"github.com/gorilla/securecookie"
)
func main() {