bbengfort / fluidfs

A highly consistent distributed filesystem built with FUSE
http://www.fluidfs.com
MIT License
1 stars 0 forks source link

Create BoltDB interface #14

Closed bbengfort closed 7 years ago

bbengfort commented 7 years ago

Create mechanism to interact with BoltDB including the following buckets:

bbengfort commented 7 years ago

In order to support multiple databases, I created a database API as follows:

There is a Database interface that all database drivers must implement. I've currently implemented two drivers, BoltDB and LevelDB. You can specify which driver you'd like in the YAML configuration file, and it is initialized correctly.

All other methods will be "stored" and "fetched" from the database according to the model structs that they represent (for marshaling and unmarshaling of JSON data).

bbengfort commented 7 years ago

TODO: