Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FuncMap for template rendering FuncMap = template.FuncMap{ "frequencyImage": func(frequency model.KetchupFrequency) string { switch frequency { case model.None: return "bell-slash" case model.Weekly: return "calendar" default: return "clock" } }, } )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { Handler() http.Handler Signup() http.Handler PublicTemplateFunc(http.ResponseWriter, *http.Request) (string, int, map[string]interface{}, error) AppTemplateFunc(http.ResponseWriter, *http.Request) (string, int, map[string]interface{}, error) }
App of package
type SecurityPayload ¶ added in v1.12.0
SecurityPayload is a question sent to the browser
type SecurityQuestion ¶ added in v1.7.0
SecurityQuestion is a question for fighting against bot
Click to show internal directories.
Click to hide internal directories.