modelgebura

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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
	IconImageURL     string
	HeroImageURL     string
	Tags             []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
	Name        string
	Description string
	Binary      *AppPackageBinary
	Public      bool
}

type AppPackageBinary

type AppPackageBinary struct {
	Name      string
	SizeBytes int64
	PublicURL string
	Sha256    []byte
}

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
)

type BoundApps added in v0.1.7

type BoundApps struct {
	Internal *App
	Steam    *App
}

func (*BoundApps) Flatten added in v0.1.7

func (b *BoundApps) Flatten() *App

Jump to

Keyboard shortcuts

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