v1

package
v0.4.4-alpha4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	V1LabelName = "name"
	V1LabelIcon = "icon"
)

Variables

View Source
var (
	Cache *cache.Cache
)

Functions

func AppIcon

func AppIcon(containerInfo *types.ContainerJSON) string

func AppName

func AppName(containerInfo *types.ContainerJSON) string

func GetToken

func GetToken() string

Types

type AppStore

type AppStore interface {
	GetServerList(index, size, tp, categoryID, key string) (*model.ServerAppListCollection, error)
	GetServerAppInfo(id, t string, language string) (model.ServerAppList, error)
	GetServerCategoryList() (list []model.CategoryList, err error)
	AsyncGetServerList() (*model.ServerAppListCollection, error)
	AsyncGetServerCategoryList() ([]model.CategoryList, error)
}

func NewAppService

func NewAppService() AppStore

Jump to

Keyboard shortcuts

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