builtin

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	UserBucket = "mdm.Users"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*bolt.DB
	// contains filtered or unexported fields
}

func NewDB

func NewDB(db *bolt.DB) (*DB, error)

func (*DB) DeleteDeviceUsers

func (db *DB) DeleteDeviceUsers(udid string) error

func (*DB) DeviceUsers

func (db *DB) DeviceUsers(udid string) ([]user.User, error)

func (*DB) List

func (db *DB) List() ([]user.User, error)

func (*DB) Save

func (db *DB) Save(u *user.User) error

func (*DB) User

func (db *DB) User(uuid string) (*user.User, error)

func (*DB) UserByUserID

func (db *DB) UserByUserID(userID string) (*user.User, error)

Jump to

Keyboard shortcuts

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