user

package
v0.0.0-...-42a02cb Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID           uuid.UUID
	Name         string
	HashPassword string
	Quota        int64
}

func CreateAccount

func CreateAccount(username, password string) *Account

func (*Account) CheckPassword

func (acc *Account) CheckPassword(password string) bool

func (*Account) MustGenerateID

func (acc *Account) MustGenerateID()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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