Mail

package
v0.0.0-...-6235a54 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PathIncidentChange = "Templates/IncidentChange.html"
View Source
View Source
const PathNewIncident = "Templates/NewTicket.html"
View Source
const PathNewPassword = "Templates/NewPassword.html" //nolint:gosec
View Source
const PathNewUser = "Templates/NewUser.html"

Variables

This section is empty.

Functions

func ConvertToBase64

func ConvertToBase64(pathToImage string) string

func GetBodyNewPassword

func GetBodyNewPassword(newPassword NewPassword) string

func GetBodyNewTicket

func GetBodyNewTicket(newIncident NewTicket) string

func GetBodyNewUser

func GetBodyNewUser(newUser NewUser) string

func GetBodyTicketChange

func GetBodyTicketChange(incidentChange IncidentChange) string

Types

type IncidentChange

type IncidentChange struct {
	ID            int
	NombreProceso string
	NuevoEstado   string
	LogoBase64    string
}

type NewPassword

type NewPassword struct {
	Nombre     string
	Password   string
	LogoBase64 string
}

type NewTicket

type NewTicket struct {
	ID            int
	NombreProceso string
	Descripcion   string
	Tipo          string
	LogoBase64    string
}

type NewUser

type NewUser struct {
	Nombre     string
	Email      string
	Password   string
	LogoBase64 string
}

Jump to

Keyboard shortcuts

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