modelgebura

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	ID               model.InternalID
	Source           AppSource
	SourceAppID      string
	SourceURL        string
	Name             string
	Type             AppType
	ShortDescription string
	ImageURL         string
	Details          *AppDetails
	// the bound internal app id if self is external
	BoundInternal model.InternalID
}

type AppDetails

type AppDetails struct {
	Description string
	ReleaseDate string
	Developer   string
	Publisher   string
	Version     string
}

type AppPackage

type AppPackage struct {
	ID              model.InternalID
	Source          AppPackageSource
	SourceID        model.InternalID
	SourcePackageID string
	Name            string
	Description     string
	Binary          *AppPackageBinary
	Public          bool
}

type AppPackageBinary

type AppPackageBinary struct {
	Name      string
	SizeByte  int64
	PublicURL string
}

type AppPackageSource

type AppPackageSource int
const (
	AppPackageSourceUnspecified AppPackageSource = iota
	AppPackageSourceManual
	AppPackageSourceSentinel
)

type AppSource

type AppSource int
const (
	AppSourceUnspecified AppSource = iota
	AppSourceInternal
	AppSourceSteam
)

type AppType

type AppType int
const (
	AppTypeUnspecified AppType = iota
	AppTypeGame
)

Jump to

Keyboard shortcuts

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