db

package
v0.0.0-...-db890f3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	DB *bolt.DB
}

func (DB) DeleteUser

func (d DB) DeleteUser(name string) error

func (DB) GetUser

func (d DB) GetUser(name string) (*User, error)

func (DB) Initialize

func (d DB) Initialize() error

func (DB) UpsertUser

func (d DB) UpsertUser(user User) error

type User

type User struct {
	Name     string
	Password []byte
}

Jump to

Keyboard shortcuts

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