-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Delete store file when cookies max-age <= 0 (#93)
* Delete store file in case if cookies max-age < 0 * Improve the file path definition in erase function * Protect the session file with mutex in delete func * Delete filesystem session if max-age is <= 0 * Add tests for filesystem store delete function * Extend the doc with the file session deletion. * format source code in store_test.go
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 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