Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Templates *template.Template
Templates - Global Variable of templates
Functions ¶
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
IndexHandler - Main Page handler
func RenderErrorPage ¶
func RenderErrorPage(w http.ResponseWriter, title, message string)
RenderErrorPage - Rendering error page for client
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, tmpl string, vars interface{})
RenderTemplate - Render template by template name
Types ¶
Click to show internal directories.
Click to hide internal directories.