Documentation ¶
Index ¶
- func JSON(w http.ResponseWriter, status int, data any) error
- func JSONWithHeaders(w http.ResponseWriter, status int, data any, headers http.Header) error
- func NamedTemplate(w http.ResponseWriter, status int, data any, templateName string, ...) error
- func NamedTemplateWithHeaders(w http.ResponseWriter, status int, data any, headers http.Header, ...) error
- func Page(w http.ResponseWriter, status int, data any, pagePath string) error
- func PageWithHeaders(w http.ResponseWriter, status int, data any, headers http.Header, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONWithHeaders ¶
func NamedTemplate ¶
func PageWithHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.