fastpastebin/database
Stanislav N. aka pztrn 0cca0f453f Database dialects, proper database shutdown, pagination in configuration.
Added possibility to use different database (storage) backends. Currently
supported: flatfiles and mysql. Fixes #2.

Added database shutdown call. This call will properly shutdown database
connections (in case of RDBMS) or flush pastes index cache on disk (in
case of flatfiles).

De-hardcoded pagination count. Fixes #12.
2018-05-27 12:25:01 +05:00
..
dialects Database dialects, proper database shutdown, pagination in configuration. 2018-05-27 12:25:01 +05:00
interface Database dialects, proper database shutdown, pagination in configuration. 2018-05-27 12:25:01 +05:00
migrations Database dialects, proper database shutdown, pagination in configuration. 2018-05-27 12:25:01 +05:00
database.go Database dialects, proper database shutdown, pagination in configuration. 2018-05-27 12:25:01 +05:00
exported.go License header everywhere. We're on MIT. 2018-04-30 22:37:36 +05:00
handler.go Database dialects, proper database shutdown, pagination in configuration. 2018-05-27 12:25:01 +05:00