email

package
v0.0.0-...-43a8b31 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmEmail

func ConfirmEmail(confirmation EmailObj) bool

func NewEmail

func NewEmail(userid int, emailAddress string) bool

func SendEmail

func SendEmail(subject string, content string, emailAddress string) bool

func UpdateEmail

func UpdateEmail(userid int, newEmail string) bool

Types

type EmailObj

type EmailObj struct {
	Uuid   string `json:"uuid"`
	Userid int    `json:"userid"`
}

EmailObj - Email confirmation object.

type EmailObjs

type EmailObjs []EmailObj

EmailObjs - An array of EmailObj

Jump to

Keyboard shortcuts

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