Documentation ¶
Index ¶
- Variables
- func GetChangelog(w http.ResponseWriter, r *http.Request)
- func GetDescription(w http.ResponseWriter, r *http.Request)
- func GetDownloads(w http.ResponseWriter, r *http.Request)
- func GetFiles(w http.ResponseWriter, r *http.Request)
- func GetImage(w http.ResponseWriter, r *http.Request)
- func GetItems(w http.ResponseWriter, r *http.Request)
- func GetLocalFile(w http.ResponseWriter, r *http.Request)
- func GetProduct(w http.ResponseWriter, r *http.Request)
- func GetScreenshots(w http.ResponseWriter, r *http.Request)
- func GetSearch(w http.ResponseWriter, r *http.Request)
- func GetSteamNews(w http.ResponseWriter, r *http.Request)
- func GetSteamReviews(w http.ResponseWriter, r *http.Request)
- func GetTagsEdit(w http.ResponseWriter, r *http.Request)
- func GetThumbnails(w http.ResponseWriter, r *http.Request)
- func GetUpdates(w http.ResponseWriter, r *http.Request)
- func GetVideo(w http.ResponseWriter, r *http.Request)
- func GetVideos(w http.ResponseWriter, r *http.Request)
- func GetWishlistAdd(w http.ResponseWriter, r *http.Request)
- func GetWishlistRemove(w http.ResponseWriter, r *http.Request)
- func HandleFuncs()
- func Init(templatesFS fs.FS, stencilAppStyles fs.FS) error
- func PostTagsApply(w http.ResponseWriter, r *http.Request)
- func SetDownloadsLanguageCodes(lc []string)
- func SetDownloadsOperatingSystems(os []vangogh_local_data.OperatingSystem)
- func SetPassword(p string)
- func SetUsername(u string)
- func SetVangoghConnection(scheme, address string, port int)
- type DataReduxAssets
- func (dra *DataReduxAssets) AddVal(asset, key, val string) error
- func (dra *DataReduxAssets) BatchReplaceValues(asset string, keyValues map[string][]string) error
- func (dra *DataReduxAssets) CutVal(asset, key, val string) error
- func (dra *DataReduxAssets) GetAllUnchangedValues(asset, key string) ([]string, bool)
- func (dra *DataReduxAssets) GetAllValues(asset, key string) ([]string, bool)
- func (dra *DataReduxAssets) GetFirstVal(asset, key string) (string, bool)
- func (dra *DataReduxAssets) Has(asset string) bool
- func (dra *DataReduxAssets) HasKey(asset, key string) bool
- func (dra *DataReduxAssets) HasVal(asset, key, val string) bool
- func (dra *DataReduxAssets) IsSupported(assets ...string) error
- func (dra *DataReduxAssets) Keys(asset string) []string
- func (dra *DataReduxAssets) Match(query map[string][]string, anyCase bool) map[string]bool
- func (dra *DataReduxAssets) ReduxAssetsModTime() (int64, error)
- func (dra *DataReduxAssets) RefreshReduxAssets() (kvas.ReduxAssets, error)
- func (dra *DataReduxAssets) ReplaceValues(asset, key string, values ...string) error
- func (dra *DataReduxAssets) Sort(ids []string, desc bool, sortBy ...string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Auth = middleware.BasicHttpAuth GetOnly = middleware.GetMethodOnly PostOnly = middleware.PostMethodOnly Gzip = middleware.Gzip Log = nod.RequestLog Redirect = http.RedirectHandler )
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 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 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 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 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 ¶
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) 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
Source Files ¶
- get_changelog.go
- get_description.go
- get_downloads.go
- get_files.go
- get_image.go
- get_items.go
- get_local_file.go
- get_product.go
- get_screenshots.go
- get_search.go
- get_steam_news.go
- get_steam_reviews.go
- get_tags_edit.go
- get_thumbnails.go
- get_updates.go
- get_video.go
- get_videos.go
- get_wishlist_add.go
- get_wishlist_remove.go
- init.go
- post_tags_apply.go
- routing.go
- vangogh_endpoints.go
- vangogh_urls.go
Click to show internal directories.
Click to hide internal directories.