Documentation ¶
Index ¶
Constants ¶
View Source
const TEMPLATE_DIR_PATH = "templates"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mail ¶
func (*Mail) AddContentsFromTemplate ¶
type SendForm ¶
type SendForm struct { Name string Mail string Lang string Subject string Detail string URL string Category string Time time.Time IP string CustomTitle string CustomValue string UserData *UserData }
func (*SendForm) DiscordSender ¶
func (*SendForm) MailSender ¶
func (*SendForm) SlackSender ¶
type SlackDividerBlock ¶
type SlackDividerBlock struct {
Type string `json:"type"`
}
type SlackFiledBlock ¶
type SlackFiledBlock struct { Type string `json:"type"` Filed []SlackPlainTextBlock `json:"fields"` }
type SlackHeaderBlock ¶
type SlackHeaderBlock struct { Type string `json:"type"` Text SlackPlainTextBlock `json:"text,omitempty"` }
type SlackPayload ¶
type SlackPayload struct {
Blocks []any `json:"blocks"`
}
type SlackPlainTextBlock ¶
type SlackSectionBlock ¶
type SlackSectionBlock struct { Type string `json:"type"` Text SlackPlainTextBlock `json:"text,omitempty"` }
Click to show internal directories.
Click to hide internal directories.