Skip to content

Database

GGP1 edited this page Jul 28, 2024 · 7 revisions

The database is a mantained fork of Bolt (bbolt), a key-value store that uses a single file and a B+Tree structure. Its file is locked when opened, any other simultaneous process attempting to interact with the database will receive a panic.

All collections of key/value pairs are stored in buckets, five of them are used, one for each type of object and one for storing the authentication parameters. Keys within a bucket must be unique, the user will receive an error when trying to create a record with an already used name.