Documentation ¶
Index ¶
Constants ¶
View Source
const (
EML_FILE_EXTENSION = ".eml"
)
Variables ¶
This section is empty.
Functions ¶
func HealthCheckHandle ¶
Types ¶
type HttpEndpoints ¶
type HttpEndpoints struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler(apiKeys []string, emailsDir string) *HttpEndpoints
func (*HttpEndpoints) AddRoutes ¶
func (h *HttpEndpoints) AddRoutes(rg *gin.RouterGroup)
type SendEmailReq ¶
type SendEmailReq struct { To []string `json:"to"` Subject string `json:"subject"` Content string `json:"content"` HighPrio bool `json:"highPrio"` HeaderOverrides *messagingTypes.HeaderOverrides `json:"headerOverrides"` }
Click to show internal directories.
Click to hide internal directories.