rest

package
v0.6.63 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminRole  = "admin"
	SharedRole = "shared"

	SearchResultsLimit = 24 // divides by 2,3,4,6 to allow that many columns
)

Variables

Functions

func GetChangelog added in v0.2.93

func GetChangelog(w http.ResponseWriter, r *http.Request)

func GetDescription added in v0.2.93

func GetDescription(w http.ResponseWriter, r *http.Request)

func GetDigest added in v0.5.16

func GetDigest(w http.ResponseWriter, r *http.Request)

func GetDownloads added in v0.1.52

func GetDownloads(w http.ResponseWriter, r *http.Request)

func GetFiles

func GetFiles(w http.ResponseWriter, r *http.Request)

func GetImage added in v0.3.62

func GetImage(w http.ResponseWriter, r *http.Request)

func GetItems added in v0.1.84

func GetItems(w http.ResponseWriter, r *http.Request)

func GetLocalFile

func GetLocalFile(w http.ResponseWriter, r *http.Request)

func GetLocalTagsApply added in v0.4.90

func GetLocalTagsApply(w http.ResponseWriter, r *http.Request)

func GetLocalTagsEdit added in v0.4.90

func GetLocalTagsEdit(w http.ResponseWriter, r *http.Request)

func GetProduct

func GetProduct(w http.ResponseWriter, r *http.Request)

func GetScreenshots added in v0.3.62

func GetScreenshots(w http.ResponseWriter, r *http.Request)

func GetSearch

func GetSearch(w http.ResponseWriter, r *http.Request)

func GetSteamDeck added in v0.6.42

func GetSteamDeck(w http.ResponseWriter, r *http.Request)

func GetSteamNews added in v0.4.28

func GetSteamNews(w http.ResponseWriter, r *http.Request)

func GetSteamReviews added in v0.4.63

func GetSteamReviews(w http.ResponseWriter, r *http.Request)

func GetTagsApply added in v0.4.90

func GetTagsApply(w http.ResponseWriter, r *http.Request)

func GetTagsEdit added in v0.3.90

func GetTagsEdit(w http.ResponseWriter, r *http.Request)

func GetThumbnails added in v0.3.32

func GetThumbnails(w http.ResponseWriter, r *http.Request)

func GetUpdates added in v0.1.71

func GetUpdates(w http.ResponseWriter, r *http.Request)

func GetVideo added in v0.3.62

func GetVideo(w http.ResponseWriter, r *http.Request)

func GetVideos

func GetVideos(w http.ResponseWriter, r *http.Request)

func GetWishlistAdd added in v0.3.83

func GetWishlistAdd(w http.ResponseWriter, r *http.Request)

func GetWishlistRemove added in v0.3.83

func GetWishlistRemove(w http.ResponseWriter, r *http.Request)

func HandleFuncs

func HandleFuncs(p int)

func Init

func Init(templatesFS fs.FS, stencilAppStyles fs.FS) error

func SetDefaultDownloadsFilters added in v0.6.63

func SetDefaultDownloadsFilters(
	os []vangogh_local_data.OperatingSystem,
	lc []string,
	ep bool)

func SetPassword

func SetPassword(role, p string)

func SetUsername

func SetUsername(role, u string)

func SetVangoghConnection

func SetVangoghConnection(scheme, address string, port int)

Types

type IdPropertyValues added in v0.6.41

type IdPropertyValues = map[string]map[string][]string

func MergeIdPropertyValues added in v0.6.41

func MergeIdPropertyValues(first, second IdPropertyValues) IdPropertyValues

func NewIdPropertyValues added in v0.6.41

func NewIdPropertyValues(properties []string) IdPropertyValues

Jump to

Keyboard shortcuts

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