data

package
v0.3.26 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Backups       pathways.AbsDir = "backups"
	Metadata      pathways.AbsDir = "metadata"
	Downloads     pathways.AbsDir = "downloads"
	Wine          pathways.AbsDir = "wine"
	InstalledApps pathways.AbsDir = "installed-apps"
	Logs          pathways.AbsDir = "logs"
)
View Source
const (
	Redux          pathways.RelDir = "_redux"           // Metadata
	ProductDetails pathways.RelDir = "_product-details" // Metadata
	Inventory      pathways.RelDir = "_inventory"       // InstalledApps
	PrefixArchive  pathways.RelDir = "_prefix-archive"  // Backups
	WineDownloads  pathways.RelDir = "_downloads"       // Wine
	WineBinaries   pathways.RelDir = "_binaries"        // Wine
	UmuConfigs     pathways.RelDir = "_umu-configs"     // Wine
)
View Source
const (
	ServerConnectionProperties = "server-connection"

	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 (
	ServerProtocolProperty = "server-protocol"
	ServerAddressProperty  = "server-address"
	ServerPortProperty     = "server-port"
	ServerUsernameProperty = "server-username"
	ServerSessionToken     = "server-session-token"
	ServerSessionExpires   = "server-session-expires"
)
View Source
const (
	ApiAuthUserPath         = "/api/auth-user"
	ApiAuthSessionPath      = "/api/auth-session"
	ApiHealthPath           = "/api/health"
	ApiProductDetailsPath   = "/api/product-details"
	ApiWineBinariesVersions = "/api/wine-binaries-versions"
	HttpFilesPath           = "/files"
	HttpImagePath           = "/image"
	HttpWineBinaryFilePath  = "/wine-binary-file"
)

Variables

Functions

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 GetAbsInventoryFilename added in v0.2.31

func GetAbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)

func GetAbsPrefixDir added in v0.1.29

func GetAbsPrefixDir(id, langCode string, rdx redux.Readable) (string, error)

func GetPrefixName added in v0.1.69

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

func GetRelFilesModifiedAfter added in v0.2.8

func GetRelFilesModifiedAfter(absDir string, utcTime int64) ([]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 ProtonGeLatestReleasePath added in v0.2.79

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

func RelToUserDataHome added in v0.2.63

func RelToUserDataHome(path string) (string, error)

func ServerRequest added in v0.3.6

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

func ServerUrl added in v0.1.95

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

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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