package
0.0.0-20250307055322-04d9774b42d2
Repository: https://github.com/snetsystems/cloudhub.git
Documentation: pkg.go.dev
# Functions
NewClient initializes bolt client implementing the kv.Store interface.
WithBuildInfo allows for setting this cloudhub's build info.
WithLogger allows for setting this cloudhub's logger.
WithPath sets the path to the boltdb.
# Constants
ErrUnableToBackup means we couldn't copy the db file into ./backup.
ErrUnableToInitialize means we couldn't create missing Buckets (maybe a timeout).
ErrUnableToOpen means we had an issue establishing a connection (or creating the database).
ErrUnableToUpdate means we had an issue changing the db schema.
# Type aliases
Option to change behavior of Open().