From 25768f01093833e2dbd08748051d1cbb8b95c930 Mon Sep 17 00:00:00 2001 From: luosangnanka Date: Mon, 5 May 2014 16:21:50 +0800 Subject: [PATCH] Update README.md Update the json format of session for file, redis, mysql, cookie, there are errors in these json string, such as after the param `ProviderConfig` and there is a lost of `"` in the line 61 of the `gclifetime`. --- session/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session/README.md b/session/README.md index 56b46bdd..6d0a297e 100644 --- a/session/README.md +++ b/session/README.md @@ -58,7 +58,7 @@ Then in you web app init the global session manager func init() { globalSessions, _ = session.NewManager( - "cookie", `{"cookieName":"gosessionid","enableSetCookie":false,gclifetime":3600,"ProviderConfig":"{\"cookieName\":\"gosessionid\",\"securityKey\":\"beegocookiehashkey\"}"}`) + "cookie", `{"cookieName":"gosessionid","enableSetCookie":false,"gclifetime":3600,"ProviderConfig":"{\"cookieName\":\"gosessionid\",\"securityKey\":\"beegocookiehashkey\"}"}`) go globalSessions.GC() }