pwreset

package
v0.0.0-...-6dfde0d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: GPL-3.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 PasswordReset

type PasswordReset struct {
	ID         string `gorm:"primary_key" sql:"type:uuid;default:uuid_generate_v4()"`
	UserID     string `sql:"type:uuid"`
	Expiration time.Time
}

func New

func New(userID string) PasswordReset

func (PasswordReset) IsValid

func (p PasswordReset) IsValid() bool

Jump to

Keyboard shortcuts

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