Commit Graph

23 Commits

Author SHA1 Message Date
Carlos Alexandro Becker 7c98dee240 added missing docs and fixed vet warns 2015-09-08 10:21:43 -03:00
Anton Lindström 4cff112644 Merge pull request #8 from elithrar/max-age-fix
Provide method to set MaxAge on underlying cookies.
2015-08-11 15:41:50 +02:00
Matt Silverlock ab9eca674d Provide method to set MaxAge on underlying cookies.
- Addresses https://github.com/gorilla/sessions/issues/48
2015-08-11 20:13:41 +08:00
Anton Lindström 6dafa07cd9 Merge pull request #6 from imjoshholloway/master 2015-07-15 16:26:42 +02:00
Josh Holloway ad7b0ee0eb Added MaxLength support port of: https://github.com/boj/redistore/pull/5 2015-07-15 15:08:34 +01:00
Anton Lindström 4c9cf6b101 Merge pull request #7 from elithrar/cleanup-old-ticker
Feature: Expired sessions can be deleted via a background goroutine.
2015-07-15 11:14:07 +02:00
Matt Silverlock 1ad21d029c feature: expired sessions can be deleted via a background goroutine.
- Call defer store.StopCleanup(store.Cleanup(time.Minute * 5)) after store creation.
- Does not break the existing API (optional, but recommended)
- Based on https://github.com/yosssi/boltstore/reaper
- Deletes expired sessions (where expireson > now())
- Includes tests
2015-07-11 11:56:04 +08:00
Anton Lindström 794392bd2e Merge pull request #4 from jcbwlkr/copy_options
Make a copy of Options for each new session
2015-05-07 14:29:52 +02:00
Jacob Walker cbe9f2afe4 Make a copy of Options for each new session 2015-05-06 11:10:11 -05:00
Anton Lindström 951665cd6d Merge pull request #3 from brunoqc/patch-1
Fix godoc link in README
2014-10-12 18:14:57 +02:00
Bruno Bigras f051d4e5e4 Fix godoc link in README 2014-10-11 17:17:54 -04:00
Anton Lindström e4236d22af fix drone testing
this commit fixes the drone testing with a postgres database
2014-06-10 15:20:15 +00:00
Anton Lindström 56defcdd65 fix ssl-mode for drone test 2014-06-09 16:56:27 +00:00
Anton Lindström 3ead5a545f format code 2014-06-09 16:54:10 +00:00
Anton Lindström 568eb0c1c5 fail test if db is nil 2014-06-09 16:53:59 +00:00
Anton Lindström 69833dab93 enable postgres service for drone testing 2014-06-09 16:44:35 +00:00
Anton Lindström b205a0ee64 remove repeated assignment in Save(), fixes #2 2014-06-09 16:19:20 +00:00
Anton Lindström 5c8fa0fe70 remove unused fmt code 2014-05-20 06:09:24 +00:00
Anton Lindström c44d6679ce add ci .drone.yml file 2014-05-20 06:03:26 +00:00
Anton Lindström 31c2148d2b add step build and test to Makefile 2014-05-20 06:02:59 +00:00
Anton Lindström a8d90ab434 Merge pull request #1 from hlawrenz/fixupdates
Fix save function to actually update database record. Add a test.
2014-05-20 07:56:49 +02:00
Hans Lawrenz 53ec9b3310 Fix save function to actually update database record. Add a test. 2014-05-19 10:50:30 -04:00
Anton Lindström ef9866c6f5 initial commit 2014-01-07 17:15:27 +00:00