utils

package
v0.0.0-...-1041bd6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAdeToken

func CreateAdeToken(user models.User) models.AdeToken

func GetAdeTokenFromToken

func GetAdeTokenFromToken(token string) models.AdeToken

func GetHotspotPrefs

func GetHotspotPrefs(hotspotId int) map[string]string

func SendEmail

func SendEmail(mailFrom string, subject string, message string, mailTo string) bool

func SendFeedBackMessageToOwner

func SendFeedBackMessageToOwner(adeToken models.AdeToken, message string, hotspotPrefs map[string]string) bool

func SendFeedBackMessageToUser

func SendFeedBackMessageToUser(adeToken models.AdeToken, userEmail string, hotspotName string, bgColor string, hotspotContainerBgColor string, hotspotTitleColor string, hotspotTextColor string, hotspotTextStyle string, hotspot models.Hotspot, BodyText string) bool

func SendReviewMessageToOwner

func SendReviewMessageToOwner(adeToken models.AdeToken, stars int, message string, hotspotPrefs map[string]string) bool

func SendReviewMessageToUser

func SendReviewMessageToUser(adeToken models.AdeToken, userEmail string, hotspotName string, bgColor string, hotspotContainerBgColor string, hotspotTitleColor string, hotspotTextColor string, hotspotTextStyle string, hotspot models.Hotspot, BodyText string) bool

func SendSMS

func SendSMS(adeToken models.AdeToken, message string, survey string, smsTo string, hotspotId int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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