Victor Vrantchan
9d49dbc465
change the implementation of ErrNotFound and AlreadyExists to a struct type ( #665 )
...
with an exposed interface.
Not checking for a specific sentinel error reduces coupling between packages
and allows adding context like the resource ID and resource type.
2016-12-20 13:35:22 -05:00
Zachary Wasserman
d6765377c0
Rename inmem method receivers for consistency ( #654 )
...
This makes the inmem method receiver naming consistent with mysql. It also
eliminates potential confusion with the phrase "orm".
2016-12-15 16:12:43 -08:00
Zachary Wasserman
e1db2d4c27
Add cleanup method for distributed queries and metadata ( #547 )
...
- New datastore method for expiring queries and deleting metadata
- Start goroutine in serve to run this method on an hourly interval
Closes #392
2016-12-01 10:31:16 -08:00
Zachary Wasserman
ed3c696c6e
Refactor campaign methods into separate file ( #540 )
2016-11-29 10:20:06 -08:00