Documentation
¶
Index ¶
- Constants
- func Init()
- func Render(w http.ResponseWriter, name string, data any)
- func RenderError(w http.ResponseWriter, divName string, error string)
- func RenderFullPageError(w http.ResponseWriter, title, header, error string)
- func RenderHTMXCompatibleError(w http.ResponseWriter, r *http.Request, msg string, idName string)
- func RenderJSONError(w http.ResponseWriter, msg string, errorCode string, statusCode int)
- func RenderSimpleMessage(w http.ResponseWriter, divName string, message string)
- func StaticFSHandler() http.Handler
Constants ¶
View Source
const (
BufferPoolSize = 64
)
Variables ¶
This section is empty.
Functions ¶
func RenderError ¶
func RenderError(w http.ResponseWriter, divName string, error string)
func RenderFullPageError ¶
func RenderFullPageError(w http.ResponseWriter, title, header, error string)
func RenderJSONError ¶
func RenderJSONError(w http.ResponseWriter, msg string, errorCode string, statusCode int)
func RenderSimpleMessage ¶
func RenderSimpleMessage(w http.ResponseWriter, divName string, message string)
func StaticFSHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.