rest

package
v0.4.80 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataReduxAssetsReadOnlyError = errors.New("data redux assets is read-only")

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 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 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 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 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()

func Init

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

func PostTagsApply added in v0.3.90

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

func SetDownloadsLanguageCodes

func SetDownloadsLanguageCodes(lc []string)

func SetDownloadsOperatingSystems

func SetDownloadsOperatingSystems(os []vangogh_local_data.OperatingSystem)

func SetPassword

func SetPassword(p string)

func SetUsername

func SetUsername(u string)

func SetVangoghConnection

func SetVangoghConnection(scheme, address string, port int)

Types

type DataReduxAssets added in v0.4.80

type DataReduxAssets struct {
	// contains filtered or unexported fields
}

func NewDataRdx added in v0.4.80

func NewDataRdx(data map[string]map[string][]string) *DataReduxAssets

func NewEmpty added in v0.4.80

func NewEmpty(properties []string) *DataReduxAssets

func (*DataReduxAssets) AddVal added in v0.4.80

func (dra *DataReduxAssets) AddVal(asset, key, val string) error

func (*DataReduxAssets) BatchReplaceValues added in v0.4.80

func (dra *DataReduxAssets) BatchReplaceValues(asset string, keyValues map[string][]string) error

func (*DataReduxAssets) CutVal added in v0.4.80

func (dra *DataReduxAssets) CutVal(asset, key, val string) error

func (*DataReduxAssets) GetAllUnchangedValues added in v0.4.80

func (dra *DataReduxAssets) GetAllUnchangedValues(asset, key string) ([]string, bool)

func (*DataReduxAssets) GetAllValues added in v0.4.80

func (dra *DataReduxAssets) GetAllValues(asset, key string) ([]string, bool)

func (*DataReduxAssets) GetFirstVal added in v0.4.80

func (dra *DataReduxAssets) GetFirstVal(asset, key string) (string, bool)

func (*DataReduxAssets) Has added in v0.4.80

func (dra *DataReduxAssets) Has(asset string) bool

func (*DataReduxAssets) HasKey added in v0.4.80

func (dra *DataReduxAssets) HasKey(asset, key string) bool

func (*DataReduxAssets) HasVal added in v0.4.80

func (dra *DataReduxAssets) HasVal(asset, key, val string) bool

func (*DataReduxAssets) IsSupported added in v0.4.80

func (dra *DataReduxAssets) IsSupported(assets ...string) error

func (*DataReduxAssets) Keys added in v0.4.80

func (dra *DataReduxAssets) Keys(asset string) []string

func (*DataReduxAssets) Match added in v0.4.80

func (dra *DataReduxAssets) Match(query map[string][]string, anyCase bool) map[string]bool

func (*DataReduxAssets) ReduxAssetsModTime added in v0.4.80

func (dra *DataReduxAssets) ReduxAssetsModTime() (int64, error)

func (*DataReduxAssets) RefreshReduxAssets added in v0.4.80

func (dra *DataReduxAssets) RefreshReduxAssets() (kvas.ReduxAssets, error)

func (*DataReduxAssets) ReplaceValues added in v0.4.80

func (dra *DataReduxAssets) ReplaceValues(asset, key string, values ...string) error

func (*DataReduxAssets) Sort added in v0.4.80

func (dra *DataReduxAssets) Sort(ids []string, desc bool, sortBy ...string) ([]string, error)

Jump to

Keyboard shortcuts

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