Documentation ¶
Overview ¶
Package messages contains messages which can be displayed on either success or failure pages
Index ¶
Constants ¶
View Source
const ( EndpointSuccess MessageEndpoint = "success" EndpointFail MessageEndpoint = "fail" MsgContact MessageType = "contact" MsgAddress MessageType = "address" MsgNotFound MessageType = "notfound" MsgGeneric MessageType = "generic" )
Variables ¶
This section is empty.
Functions ¶
func RoutingRegexString ¶
func RoutingRegexString() string
RoutingRegexString returns the regular expression to match for status endoints
Types ¶
type AlertMsg ¶
type AlertMsg struct { Title string Image string Header string Message template.HTML Kind string HttpStatus int }
AlertMsg is the object which can be passed down to the status template
type MessageEndpoint ¶
type MessageEndpoint string
type MessageType ¶
type MessageType string
Click to show internal directories.
Click to hide internal directories.