Documentation ¶ Index ¶ Constants type DB func NewDB(db *bolt.DB) (*DB, error) func (db *DB) Delete(id string) error func (db *DB) List() ([]profile.Profile, error) func (db *DB) ProfileById(ctx context.Context, id string) (*profile.Profile, error) func (db *DB) Save(p *profile.Profile) error Constants ¶ View Source const ( ProfileBucket = "mdm.Profile" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { *bolt.DB } func NewDB ¶ func NewDB(db *bolt.DB) (*DB, error) func (*DB) Delete ¶ func (db *DB) Delete(id string) error func (*DB) List ¶ func (db *DB) List() ([]profile.Profile, error) func (*DB) ProfileById ¶ func (db *DB) ProfileById(ctx context.Context, id string) (*profile.Profile, error) func (*DB) Save ¶ func (db *DB) Save(p *profile.Profile) error Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.