data

package
v0.5.43 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiAuthUserPath         = "/api/auth-user"
	ApiAuthSessionPath      = "/api/auth-session"
	ApiGogChecksumsPath     = "/api/gog-checksums"
	ApiGogFilenamesPath     = "/api/gog-filenames"
	ApiBinariesVersionsPath = "/api/binaries/versions"
	ApiGogManualUrlPath     = "/api/gog-manual-url"
	ApiBinaryPath           = "/api/binary"
	ApiGogImagePath         = "/api/gog-image"
	ApiMetadataPath         = "/api/metadata"

	ApiAvailableProductsPath = "/api/available-products"
)
View Source
const (
	VangoghUrlProperty            = "vangogh-url"
	VangoghUsernameProperty       = "vangogh-username"
	VangoghSessionTokenProperty   = "vangogh-session-token"
	VangoghSessionExpiresProperty = "vangogh-session-expires"

	SteamUsernameProperty = "steam-username"

	InstallInfoProperty          = "install-info"
	InstallDateProperty          = "install-date"
	LastRunDateProperty          = "last-run-date"
	PlaytimeMinutesProperty      = "playtime-minutes"
	TotalPlaytimeMinutesProperty = "total-playtime-minutes"

	LaunchOptionsExeProperty = "launch-options-exe"
	LaunchOptionsArgProperty = "launch-options-arg"
	LaunchOptionsEnvProperty = "launch-options-env"

	WineBinariesVersionsProperty = "wine-binaries-versions"
)

Variables

This section is empty.

Functions

func AbsChunksDownloadDir added in v0.4.27

func AbsChunksDownloadDir(appName string, operatingSystem vangogh_integration.OperatingSystem) string

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 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 AppOsLangCode added in v0.4.53

func AppOsLangCode(id string, operatingSystem vangogh_integration.OperatingSystem, langCode string) string

func GetTitleProperty added in v0.5.12

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

func InnoextractLatestReleasePath added in v0.5.16

func InnoextractLatestReleasePath(relBinaryPath string, rdx redux.Readable) (string, 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 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 VangoghApiRequest added in v0.4.96

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

func VangoghProperties added in v0.3.37

func VangoghProperties() []string

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
	VangoghOrigin
	SteamOrigin
	EpicGamesOrigin
	GogOrigin
)

func ParseOrigin added in v0.4.42

func ParseOrigin(originStr string) Origin

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 {
	GogDetails *gog_integration.Details
	//GogDownloadsList vangogh_integration.DownloadsList
	GogFilenames map[string]string
	AppInfoKv    steam_vdf.ValveDataFile
	CatalogItem  *egs_integration.CatalogItem
	GameManifest *egs_integration.GameManifest
	Manifest     *egs_integration.Manifest
}

Jump to

Keyboard shortcuts

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