forked from devfeel/dotweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve Comments about session Maxlifetime * Session.StoreConfig.Maxlifetime: session life time, with second * 2018-09-20 15:00
- Loading branch information
Showing
4 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ type ( | |
//session config info | ||
StoreConfig struct { | ||
StoreName string | ||
Maxlifetime int64 | ||
Maxlifetime int64 //session life time, with second | ||
CookieName string //custom cookie name which sessionid store | ||
ServerIP string //if use redis, connection string, like "redis://:[email protected]:6379/0" | ||
BackupServerUrl string //if use redis, if ServerIP is down, use this server, like "redis://:[email protected]:6379/0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters