Documentation
¶
Overview ¶
Package sqlitedb opens the daemons' SQLite databases with the connection settings their schemas rely on.
Index ¶
Constants ¶
View Source
const BusyTimeoutMS = 1000
BusyTimeoutMS is how long a connection waits for a lock held by another process, such as a checker or an operator command, before failing.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open opens an existing database for reading and writing. SQLite enforces foreign keys only on connections that enable them, and the schemas declare references and cascades, so every connection enables them. mode=rw never creates a missing file, and the file URI keeps filename characters out of the options. The pool holds one connection: SQLite has a single writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.