summary refs log tree commit diff stats
path: root/svc/db.go
Commit message (Collapse)AuthorAgeFilesLines
* on SIGINT, push to DB before shutting downBen Morrison2019-06-131-0/+5
| | | | also logging elapsed time for DB pulls
* cache and db now use time.Ticker for events. refactored some initialization.Ben Morrison2019-06-111-11/+23
|
* adding fs sync after db pushBen Morrison2019-06-111-0/+3
|
* split db-specific funcs into separate filesBen Morrison2019-06-081-225/+4
|
* sqlite functionality addedBen Morrison2019-06-081-34/+115
|
* added User.RLen to leveldb push/pullBen Morrison2019-06-081-5/+8
|
* cleaned up error handlingBen Morrison2019-06-081-14/+7
|
* working on adding sqliteBen Morrison2019-06-081-0/+7
|
* database refs and static assets concurrency-safeBen Morrison2019-06-081-5/+23
|
* moved type declarations into respective filesBen Morrison2019-06-081-0/+13
|
* renamed functionsBen Morrison2019-06-061-4/+4
|
* moved initDatabase() to db.goBen Morrison2019-06-061-0/+30
|
* moved bulk of code to its own package to clean up source treeBen Morrison2019-06-051-0/+135