Documentation ¶
Index ¶
- Constants
- func Call(u string, ctx context.Context) (*http.Response, error)
- func GetReleaseType(i int) string
- func GetThumbnail(url string, ctx context.Context) (image.Image, error)
- func IsAllowedFile(i int) bool
- func StartGameCacheSyncer()
- type Addon
- type Attachment
- type Author
- type Category
- type CategoryResponse
- type DescriptionResponse
- type File
- type FilesResponse
- type Game
- type GameResponse
- type Links
- type PagedResponse
- type Pagination
- type ProjectResponse
- type Response
- type SearchResponse
Constants ¶
View Source
const PageSize = 50
Variables ¶
This section is empty.
Functions ¶
func GetReleaseType ¶
func IsAllowedFile ¶
func StartGameCacheSyncer ¶
func StartGameCacheSyncer()
Types ¶
type Attachment ¶
type Category ¶
func GetPrimaryCategoryFor ¶
type CategoryResponse ¶
type CategoryResponse struct { PagedResponse Data []Category }
type DescriptionResponse ¶
type File ¶
type FilesResponse ¶
type FilesResponse struct { PagedResponse Data []File }
type Game ¶
func GetGameBySlug ¶
type GameResponse ¶
type GameResponse struct { PagedResponse Data []Game }
type PagedResponse ¶
type PagedResponse struct { Response Pagination Pagination }
type ProjectResponse ¶
type SearchResponse ¶
type SearchResponse struct { PagedResponse Data []Addon }
Click to show internal directories.
Click to hide internal directories.