send_contact_form

package
v0.0.0-...-2e0bdef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessMessageResponse = "Your message successfully sent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Inport

func NewUsecase

func NewUsecase(outputPort Outport) Inport

type InportRequest

type InportRequest struct {
	ID             string
	Now            time.Time
	Name           vo.ContactFormName
	Email          vo.ContactFormEmail
	Message        vo.ContactFormMessage
	RecaptchaToken string
	Secret         string
	Files          []string
	APIUrl         string
	TestMode       bool
}

type InportResponse

type InportResponse struct {
	ID      string `json:"id"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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