package
1.64.0-Personal
Repository: https://github.com/dceldran/rclone.git
Documentation: pkg.go.dev

# Functions

CheckAndDownloadWebGUIRelease is a helper function to download and setup latest release of rclone-webui-react.
CreatePathIfNotExist creates the path to a folder if it does not exist.
DownloadFile is a helper function to download a file from url to the filepath.
GetLatestReleaseURL returns the latest release details of the rclone-webui-react.
ServePluginOK checks the plugin url and uses reverse proxy to allow redirection for content not being served by rclone.
ServePluginWithReferrerOK check if redirectReferrer is set for the referred a plugin, if yes, sends a redirect to actual url.
Unzip is a helper function to Unzip a file specified in src to path dest.

# Variables

PluginsMatch is used for matching author and plugin name in the url path.
PluginsPath is the base path where webgui plugins are stored.

# Structs

PackageJSON is the structure of package.json of a plugin.
Plugins represents the structure how plugins are saved onto disk.
RcloneConfig represents the rclone specific config.