Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRenderAction ¶
func CreateRenderAction(b messenger.NotificationBuilder) http.Handler
func CreateSendAction ¶
func CreateSendAction(b messenger.NotificationBuilder, sender notification.Sender) http.Handler
func TOMLAction ¶
func TOMLAction(w http.ResponseWriter, r *http.Request)
Types ¶
type Template ¶
type Template struct { Name string Description string Config TemplateConfig Data map[string]string }
type TemplateConfig ¶
type TemplateConfig struct { TTLInSeconds int64 Delivery string Topic string ContentTemplate map[string]string HeaderTemplate map[string]string Params texttemplate.ParamDefinitions Engine string }
Click to show internal directories.
Click to hide internal directories.