user

package
v0.0.0-...-52caca7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: GPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityName

type EntityName string

type HasName

type HasName interface {
	Name() EntityName
}

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(u string, p string) (User, error)

func (User) Name

func (u User) Name() EntityName

func (User) PasswordIsValid

func (u User) PasswordIsValid(p string) (bool, error)

func (*User) SetUsername

func (u *User) SetUsername(new string)

func (User) Username

func (u User) Username() EntityName

Jump to

Keyboard shortcuts

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