user

package
v0.0.0-...-80a2c53 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-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 User

type User struct {
	Username string
	Email    string
	// contains filtered or unexported fields
}

func (*User) GetPasswordHash

func (user *User) GetPasswordHash() (result string)

func (*User) SetPassword

func (user *User) SetPassword(password string) (err error)

func (*User) ValidatePassword

func (user *User) ValidatePassword(password string) (result bool)

Jump to

Keyboard shortcuts

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