Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChamberRepo ¶
type ChamberRepo struct {
// contains filtered or unexported fields
}
ChamberRepo represents a bbolt repository for managing Chambers.
func NewChamberRepo ¶
func NewChamberRepo(db *bbolt.DB) (*ChamberRepo, error)
NewChamberRepo returns a new Chamber repository using the given bbolt database. It also creates the Chambers bucket if it is not yet created on disk.
func (*ChamberRepo) Delete ¶
func (r *ChamberRepo) Delete(id string) error
Delete permanently removes a Chamber.
func (*ChamberRepo) Get ¶
func (r *ChamberRepo) Get(id string) (*chamber.Chamber, error)
Get returns a Chamber by its ID.
type SettingsRepo ¶
type SettingsRepo struct {
// contains filtered or unexported fields
}
SettingsRepo represents a bbolt repository for managing Settings.
func NewSettingsRepo ¶
func NewSettingsRepo(db *bbolt.DB) (*SettingsRepo, error)
NewSettingsRepo returns a new Settings repository using the given bbolt database. It also creates the Settings bucket if it is not yet created on disk.
Click to show internal directories.
Click to hide internal directories.