builtin

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 5 Imported by: 0

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