Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiErrors = map[int]string{
202: "path not found in local database so it has been queued for processing. Retry request in a few seconds.",
301: "project is available in database however the path used for the request is not the canonical path. Retry request using the canonical path.",
400: "path provided is not a valid CurseForge path or a valid legacy curse.com project path.",
404: "path is valid but CurseForge responded that no project exists. This may be because no project has ever lived at this path, or a project does but is hidden from public view.",
500: "an unknown error occurred processing your request.",
}
Functions ¶
Types ¶
type ApiFile ¶
type ApiFileFilter ¶
type ApiResponse ¶
type ApiResponse struct { Id int Title string Summary string Game string Type string Urls struct { Curseforge string Project string } Thumbnail string CreatedAt time.Time `json:"created_at"` Downloads struct { Monthly int Total int } License string Donate string Categories []string Members []map[string]string Links []string Files []ApiFile Versions map[string][]ApiFile Description string LastFetch string Download ApiFile }
type ApiSelector ¶
type ApiSelector struct { Id string Filter ApiFileFilter }
Click to show internal directories.
Click to hide internal directories.