support

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(e *echo.Echo, logger log.Logger, mailer mailer.Mailer, verifier recaptcha.VerifierV3)

Types

type SupportEmailRequest

type SupportEmailRequest struct {
	Email             string `form:"email" validate:"required,email"`
	Subject           string `form:"subject" validate:"required,min=5,max=70"`
	Message           string `form:"message" validate:"required,min=10,max=1000"`
	RecaptchaResponse string `form:"g-recaptcha-response" validate:"required,min=1"`
}

SupportEmailRequest represents a new email support request.

Jump to

Keyboard shortcuts

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