Documentation
¶
Index ¶
- Constants
- Variables
- func AbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, ...) (string, error)
- func AbsPrefixDir(id string, rdx redux.Readable) (string, error)
- func AbsReduxDir() string
- func AllProperties() []string
- func CurrentOs() vangogh_integration.OperatingSystem
- func GetPrefixName(id string, rdx redux.Readable) (string, error)
- func InitPathways() error
- func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string
- func ProtonLatestReleasePath(runtime string, rdx redux.Readable) (string, error)
- func RelToUserDataHome(path string) (string, error)
- func TheoExecutable() (string, error)
- func UmuRunLatestReleasePath(rdx redux.Readable) (string, error)
- func UserDataHomeDir() (string, error)
- func VangoghProperties() []string
- func VangoghRequest(method, path string, data url.Values, rdx redux.Readable) (*http.Request, error)
- func VangoghUrl(path string, data url.Values, rdx redux.Readable) (*url.URL, error)
Constants ¶
View Source
const ( Backups pathways.AbsDir = "backups" Downloads pathways.AbsDir = "downloads" InstalledApps pathways.AbsDir = "installed-apps" SteamApps pathways.AbsDir = "steam-apps" // InstalledApps Logs pathways.AbsDir = "logs" Metadata pathways.AbsDir = "metadata" Wine pathways.AbsDir = "wine" SteamCmd pathways.AbsDir = "steamcmd" Temp pathways.AbsDir = "_temp" )
View Source
const ( Redux pathways.RelDir = "_redux" // Metadata ProductDetails pathways.RelDir = "product-details" // Metadata ManualUrlChecksums pathways.RelDir = "manual-url-checksums" // Metadata SteamAppInfo pathways.RelDir = "steam-appinfo" // Metadata Inventory pathways.RelDir = "_inventory" // InstalledApps PrefixArchive pathways.RelDir = "_prefix-archive" // Backups BinDownloads pathways.RelDir = "_downloads" // Wine, SteamCmd BinUnpacks pathways.RelDir = "_binaries" // Wine, SteamCmd Prefixes pathways.RelDir = "_prefixes" // Wine UmuConfigs pathways.RelDir = "_umu-configs" // Wine )
View Source
const ( VangoghUrlProperty = "vangogh-url" VangoghUsernameProperty = "vangogh-username" VangoghSessionTokenProperty = "vangogh-session-token" VangoghSessionExpiresProperty = "vangogh-session-expires" BundleNameProperty = "bundle-name" InstallInfoProperty = "install-info" InstallDateProperty = "install-date" LastRunDateProperty = "last-run-date" PlaytimeMinutesProperty = "playtime-minutes" TotalPlaytimeMinutesProperty = "total-playtime-minutes" PrefixEnvProperty = "prefix-env" PrefixExeProperty = "prefix-exe" PrefixArgProperty = "prefix-arg" WineBinariesVersionsProperty = "wine-binaries-versions" )
View Source
const ( ApiAuthUserPath = "/api/auth-user" ApiAuthSessionPath = "/api/auth-session" ApiHealthPath = "/api/health" ApiProductDetailsPath = "/api/product-details" ApiManualUrlChecksums = "/api/manual-url-checksums" ApiWineBinariesVersions = "/api/wine-binaries-versions" HttpFilesPath = "/files" HttpImagePath = "/image" HttpWineBinaryFilePath = "/wine-binary-file" HttpSteamCmdBinaryFilePath = "/steamcmd-binary-file" )
Variables ¶
View Source
var Pwd pathways.Pathway
Functions ¶
func AbsInventoryFilename ¶ added in v0.3.27
func AbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)
func AbsPrefixDir ¶ added in v0.3.27
func AbsReduxDir ¶ added in v0.3.26
func AbsReduxDir() string
func AllProperties ¶ added in v0.1.19
func AllProperties() []string
func CurrentOs ¶ added in v0.1.86
func CurrentOs() vangogh_integration.OperatingSystem
func GetPrefixName ¶ added in v0.1.69
func InitPathways ¶ added in v0.3.26
func InitPathways() error
func OsLangCode ¶ added in v0.2.5
func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string
func ProtonLatestReleasePath ¶ added in v0.3.29
func RelToUserDataHome ¶ added in v0.2.63
func TheoExecutable ¶ added in v0.1.55
func UmuRunLatestReleasePath ¶ added in v0.1.86
func UserDataHomeDir ¶ added in v0.1.42
func VangoghProperties ¶ added in v0.3.37
func VangoghProperties() []string
func VangoghRequest ¶ added in v0.3.37
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.