Versions in this module Expand all Collapse all v1 v1.54.4 Nov 23, 2020 Changes in this version + var PluginsMatch = regexp.MustCompile(`^plugins\/([^\/]*)\/([^\/\?]+)[\/]?(.*)$`) + var PluginsPath string + func CheckAndDownloadWebGUIRelease(checkUpdate bool, forceUpdate bool, fetchURL string, cacheDir string) (err error) + func CreatePathIfNotExist(path string) (err error) + func DownloadFile(filepath string, url string) (err error) + func GetLatestReleaseURL(fetchURL string) (string, string, int, error) + func ServePluginOK(w http.ResponseWriter, r *http.Request, pluginsMatchResult []string) (ok bool) + func ServePluginWithReferrerOK(w http.ResponseWriter, r *http.Request, path string) (ok bool) + func Unzip(src, dest string) (err error) + type PackageJSON struct + Author string + Bugs struct{ ... } + Copyright string + Description string + Homepage string + License string + Name string + Private bool + Rclone RcloneConfig + Repository struct{ ... } + TestURL string + Version string + type Plugins struct + LoadedPlugins map[string]PackageJSON + func (p *Plugins) GetPluginByName(name string) (out *PackageJSON, err error) + type RcloneConfig struct + HandlesType []string + PluginType string + RedirectReferrer bool + Test bool