data

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

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
	SteamPrefixes      pathways.RelDir = "_steam-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"

	SteamUsernameProperty = "steam-username"

	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

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 AbsPrefixDir(id string, origin Origin, rdx redux.Readable) (string, error)

func AbsReduxDir added in v0.3.26

func AbsReduxDir() string

func AbsSteamAppInstallDir added in v0.3.60

func AbsSteamAppInstallDir(steamAppId string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)

func AbsSteamCmdBinPath added in v0.3.55

func AbsSteamCmdBinPath(operatingSystem vangogh_integration.OperatingSystem) (string, error)

func AllOrigins added in v0.3.84

func AllOrigins() []string

func AllProperties added in v0.1.19

func AllProperties() []string

func CurrentOs added in v0.1.86

func GetPrefixName added in v0.1.69

func GetPrefixName(id string, rdx redux.Readable) (string, error)

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 ProtonLatestReleasePath(runtime string, rdx redux.Readable) (string, error)

func RelToUserDataHome added in v0.2.63

func RelToUserDataHome(path string) (string, error)

func SteamProperties added in v0.3.47

func SteamProperties() []string

func TheoExecutable added in v0.1.55

func TheoExecutable() (string, error)

func UmuRunLatestReleasePath added in v0.1.86

func UmuRunLatestReleasePath(rdx redux.Readable) (string, error)

func UserDataHomeDir added in v0.1.42

func UserDataHomeDir() (string, error)

func VangoghProperties added in v0.3.37

func VangoghProperties() []string

func VangoghRequest added in v0.3.37

func VangoghRequest(method, path string, data url.Values, rdx redux.Readable) (*http.Request, error)

func VangoghUrl added in v0.1.1

func VangoghUrl(path string, data url.Values, rdx redux.Readable) (*url.URL, error)

Types

type Origin added in v0.3.81

type Origin int
const (
	UnknownOrigin Origin = iota
	VangoghGogOrigin
	SteamOrigin
)

func (Origin) ErrUnsupportedOrigin added in v0.3.81

func (o Origin) ErrUnsupportedOrigin() error

func (Origin) String added in v0.3.81

func (o Origin) String() string

type OriginData added in v0.3.99

type OriginData struct {
	ProductDetails *vangogh_integration.ProductDetails
	AppInfoKv      steam_vdf.ValveDataFile
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL