Documentation ¶
Index ¶
- Variables
- func AboutHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func AdminAuthenticationMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
- func AdminBackend(ctx *App, res http.ResponseWriter, req *http.Request)
- func AdminSessionAuthenticate(ctx *App, res http.ResponseWriter, req *http.Request)
- func AdminSessionGet(ctx *App, res http.ResponseWriter, req *http.Request)
- func CustomCssHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func DocPage(ctx *App, res http.ResponseWriter, req *http.Request)
- func FetchAuditHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func FetchLogHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileAccess(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileCat(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileDownloader(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileExport(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileExtract(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileLs(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileMkdir(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileMv(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileRm(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileSave(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileSearch(ctx *App, res http.ResponseWriter, req *http.Request)
- func FileTouch(ctx *App, res http.ResponseWriter, req *http.Request)
- func HealthHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func InitPluginList(code []byte)
- func LegacyIndexHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func LegacyServeFile(res http.ResponseWriter, req *http.Request, filePath string)
- func LegacyStaticHandler(_path string) func(*App, http.ResponseWriter, *http.Request)
- func ManifestHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func NotFoundHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func PathBuilder(ctx *App, path string) (string, error)
- func PrivateConfigHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func PrivateConfigUpdateHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func PublicConfigHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func ReportHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func RobotsHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func ServeBackofficeHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func ServeFile(res http.ResponseWriter, req *http.Request, fs http.FileSystem, ...)
- func ServeFrontofficeHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func SessionAuthMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
- func SessionAuthenticate(ctx *App, res http.ResponseWriter, req *http.Request)
- func SessionGet(ctx *App, res http.ResponseWriter, req *http.Request)
- func SessionLogout(ctx *App, res http.ResponseWriter, req *http.Request)
- func SessionOAuthBackend(ctx *App, res http.ResponseWriter, req *http.Request)
- func ShareDelete(ctx *App, res http.ResponseWriter, req *http.Request)
- func ShareList(ctx *App, res http.ResponseWriter, req *http.Request)
- func ShareUpsert(ctx *App, res http.ResponseWriter, req *http.Request)
- func ShareVerifyProof(ctx *App, res http.ResponseWriter, req *http.Request)
- func WebdavBlacklist(fn func(*App, http.ResponseWriter, *http.Request)) func(ctx *App, res http.ResponseWriter, req *http.Request)
- func WebdavHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- func WellKnownSecurityHandler(ctx *App, res http.ResponseWriter, req *http.Request)
- type FileInfo
- type Session
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FileCache AppCache ZipTimeout func() int )
View Source
var ( WWWDir fs.FS //go:embed static/www WWWEmbed embed.FS //go:embed static/404.html HtmlPage404 []byte )
View Source
var EmacsElConfig string = ""
Functions ¶
func AboutHandler ¶
func AboutHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func AdminAuthenticationMiddleware ¶
func AdminAuthenticationMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
func AdminBackend ¶
func AdminBackend(ctx *App, res http.ResponseWriter, req *http.Request)
func AdminSessionAuthenticate ¶
func AdminSessionAuthenticate(ctx *App, res http.ResponseWriter, req *http.Request)
func AdminSessionGet ¶
func AdminSessionGet(ctx *App, res http.ResponseWriter, req *http.Request)
func CustomCssHandler ¶
func CustomCssHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func FetchAuditHandler ¶
func FetchAuditHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func FetchLogHandler ¶
func FetchLogHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func FileAccess ¶
func FileAccess(ctx *App, res http.ResponseWriter, req *http.Request)
func FileDownloader ¶
func FileDownloader(ctx *App, res http.ResponseWriter, req *http.Request)
func FileExport ¶
func FileExport(ctx *App, res http.ResponseWriter, req *http.Request)
func FileExtract ¶
func FileExtract(ctx *App, res http.ResponseWriter, req *http.Request)
func FileSearch ¶
func FileSearch(ctx *App, res http.ResponseWriter, req *http.Request)
func HealthHandler ¶
func HealthHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func InitPluginList ¶
func InitPluginList(code []byte)
func LegacyIndexHandler ¶
func LegacyIndexHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func LegacyServeFile ¶
func LegacyServeFile(res http.ResponseWriter, req *http.Request, filePath string)
func LegacyStaticHandler ¶
func LegacyStaticHandler(_path string) func(*App, http.ResponseWriter, *http.Request)
func ManifestHandler ¶
func ManifestHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func NotFoundHandler ¶
func NotFoundHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func PathBuilder ¶
func PrivateConfigHandler ¶
func PrivateConfigHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func PrivateConfigUpdateHandler ¶
func PrivateConfigUpdateHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func PublicConfigHandler ¶
func PublicConfigHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func ReportHandler ¶
func ReportHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func RobotsHandler ¶
func RobotsHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func ServeBackofficeHandler ¶
func ServeBackofficeHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func ServeFile ¶
func ServeFile(res http.ResponseWriter, req *http.Request, fs http.FileSystem, filePath string)
func ServeFrontofficeHandler ¶
func ServeFrontofficeHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func SessionAuthMiddleware ¶
func SessionAuthMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
func SessionAuthenticate ¶
func SessionAuthenticate(ctx *App, res http.ResponseWriter, req *http.Request)
func SessionGet ¶
func SessionGet(ctx *App, res http.ResponseWriter, req *http.Request)
func SessionLogout ¶
func SessionLogout(ctx *App, res http.ResponseWriter, req *http.Request)
func SessionOAuthBackend ¶
func SessionOAuthBackend(ctx *App, res http.ResponseWriter, req *http.Request)
func ShareDelete ¶
func ShareDelete(ctx *App, res http.ResponseWriter, req *http.Request)
func ShareUpsert ¶
func ShareUpsert(ctx *App, res http.ResponseWriter, req *http.Request)
func ShareVerifyProof ¶
func ShareVerifyProof(ctx *App, res http.ResponseWriter, req *http.Request)
func WebdavBlacklist ¶
func WebdavBlacklist(fn func(*App, http.ResponseWriter, *http.Request)) func(ctx *App, res http.ResponseWriter, req *http.Request)
* OSX ask for a lot of crap while mounting as a network drive. To avoid wasting resources with such * an imbecile and considering we can't even see the source code they are running, the best approach we * could go on is: "crap in, crap out" where useless request coming in are identified and answer appropriatly
func WebdavHandler ¶
func WebdavHandler(ctx *App, res http.ResponseWriter, req *http.Request)
func WellKnownSecurityHandler ¶
func WellKnownSecurityHandler(ctx *App, res http.ResponseWriter, req *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.