Versions in this module Expand all Collapse all v1 v1.0.1 Jul 25, 2024 v1.0.0 Jul 25, 2024 Changes in this version + type FileServer struct + CACert string + CLI bool + Clipboard *clipboard.Clipboard + DropUser string + Embedded bool + Fingerprint1 string + Fingerprint256 string + Hub *ws.Hub + IP string + LetsEncrypt bool + MyCert string + MyKey string + MyP12 string + Pass string + Port int + ReadOnly bool + SSL bool + SelfSigned bool + Silent bool + UploadOnly bool + User string + Verbose bool + Version string + WebdavPort int + Webroot string + func (files *FileServer) AddCertAuth(server *http.Server) + func (files *FileServer) PrintEmbeddedFiles() + func (fs *FileServer) BasicAuthMiddleware(next http.Handler) http.Handler + func (fs *FileServer) PrintInfoUseBasicAuth(mux *mux.Router, what string) + func (fs *FileServer) SetupMux(mux *mux.Router, what string) string + func (fs *FileServer) Start(what string) + func (fs *FileServer) StartListener(server http.Server, what string, listener net.Listener)