Versions in this module Expand all Collapse all v0 v0.1.0 Aug 26, 2023 Changes in this version + func CreateDeleteRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreateGetRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreateHeadRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreateOptionsRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreatePatchRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreatePostRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreatePutRoute(path string, d fs.DirEntry, router *gin.Engine) + func CreateRouter() *gin.Engine + func FileResponse(L *lua.LState) int + func FilesystemRouteToURLEndpoint(path string) string + func GenerateFilesystemRoutes(router *gin.Engine) + func HTMLResponse(L *lua.LState) int + func HandleError(err error) + func HandleHTTPError(code int) string + func JSONResponse(L *lua.LState) int + func LoadError(file string, code int) (lua.LValue, error) + func LoadViewFunction(file string, request http.Request) (lua.LValue, error) + func Loader(L *lua.LState) int + func MakeRequestTable(L *lua.LState, request http.Request) lua.LTable + func Redirect(L *lua.LState) int + func RenderTemplate(file string, data lua.LTable) string + func TextResponse(L *lua.LState) int