sharded-gotify/database
Jannis Mattheis edec140c82 Limit sqlite to one connection
we use the database connection inside the handlers from the http
framework, therefore concurrent access occurs. Sqlite cannot handle
concurrent writes, so we limit sqlite to one connection.
see https://github.com/mattn/go-sqlite3/issues/274
2018-02-12 16:33:03 +01:00
..
application.go Add database wrapper 2018-02-11 08:54:20 +01:00
application_test.go Add database wrapper 2018-02-11 08:54:20 +01:00
client.go Add database wrapper 2018-02-11 08:54:20 +01:00
client_test.go Add database wrapper 2018-02-11 08:54:20 +01:00
database.go Limit sqlite to one connection 2018-02-12 16:33:03 +01:00
database_test.go Add database wrapper 2018-02-11 08:54:20 +01:00
message.go Add database wrapper 2018-02-11 08:54:20 +01:00
message_test.go Add database wrapper 2018-02-11 08:54:20 +01:00
user.go Add database wrapper 2018-02-11 08:54:20 +01:00
user_test.go Add database wrapper 2018-02-11 08:54:20 +01:00