Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContext ¶
func CreateContext()
func GetMessage ¶
func GetMessage(key hsk.Key) (validation.Dataer, error)
func PopulatTemplate ¶
Types ¶
type Message ¶
type Message struct { Name string `hsk:"size(50)"` Subject string `hsk:"size(128)"` Email string `hsk:"size(128)"` Phone string `hsk:"size(15)"` Body string `hsk:"size(1024)"` To string `hsk:"null;size(128)"` Sent bool `hsk:"default(false)"` Error string `hsk:"null;size(2048)"` TemplateName string `hsk:"null;size(18)"` }
func (Message) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.