Documentation ¶
Index ¶
- Constants
- func Disable() error
- func Enable() error
- func GetDownloadUrl(goos, goArch, version string) (string, error)
- func GetLastReleaseVersion() (string, error)
- func Install(goos, goArch, version, installTo, systemdPath string) error
- func InstallLastRelease() error
- func IsRunning() (bool, error)
- func ResetAdminPassword() (string, error)
- func SetAria2(dbPath, rpc, token, temp string) error
- func Start() error
- func Stop() error
Constants ¶
View Source
const DefaultDbPath = "/usr/local/cloudreve/cloudreve.db"
View Source
const InstallTo = "/usr/local/cloudreve"
View Source
const Name = "cloudreve"
View Source
const SystemdPath = "/etc/systemd/system/cloudreve.service"
Variables ¶
This section is empty.
Functions ¶
func GetDownloadUrl ¶
GetDownloadUrl 获取版本的下载链接
func GetLastReleaseVersion ¶
GetLastReleaseVersion 获取Cloudreve最后一个版本的版本号
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.