modelgebura

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 2 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
	Name              string
	Description       string
	Public            bool
	AssignedAppInfoID model.InternalID
}

type AppBinary added in v0.2.3

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

type AppBinaryChunk added in v0.2.3

type AppBinaryChunk struct {
	Sequence  int64
	SizeBytes int64
	PublicURL string
	Sha256    []byte
}

type AppInfo added in v0.2.3

type AppInfo struct {
	ID                 model.InternalID
	Internal           bool
	Source             string
	SourceAppID        string
	SourceURL          string
	Name               string
	Type               AppType
	ShortDescription   string
	IconImageURL       string
	BackgroundImageURL string
	CoverImageURL      string
	Tags               []string
	Details            *AppInfoDetails
	// the bound Internal app id if self is external
	BoundInternal    model.InternalID
	LatestUpdateTime time.Time
}

type AppInfoDetails added in v0.2.3

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

type AppInfoID added in v0.2.3

type AppInfoID struct {
	Internal    bool
	Source      string
	SourceAppID string
}

type AppInfoMixed added in v0.2.3

type AppInfoMixed struct {
	ID                 model.InternalID
	Name               string
	Type               AppType
	ShortDescription   string
	IconImageURL       string
	BackgroundImageURL string
	CoverImageURL      string
	Tags               []string
	Details            *AppInfoDetails
}

type AppInst added in v0.2.3

type AppInst struct {
	ID       model.InternalID
	AppID    model.InternalID
	DeviceID model.InternalID
}

type AppType

type AppType int
const (
	AppTypeUnspecified AppType = iota
	AppTypeGame
)

type BoundAppInfos added in v0.2.3

type BoundAppInfos struct {
	Internal *AppInfo
	Others   []*AppInfo
}

func (*BoundAppInfos) Flatten added in v0.2.3

func (b *BoundAppInfos) Flatten() *AppInfoMixed

Jump to

Keyboard shortcuts

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