builtin

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL