Commit Graph

3 Commits

Author SHA1 Message Date
Anton Lindström 44eb1e8a22 Add underscores when querying column names
This commit aims to fix tests which fails on not finding columns such as
`expireson`. Adding the underscore that are used when creating the table
should fix this.

An issue with this is that it must have worked previously without underscores.
In that case this might break existing usage.
2015-09-15 11:11:49 +00:00
Carlos Alexandro Becker 7c98dee240 added missing docs and fixed vet warns 2015-09-08 10:21:43 -03: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