Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GuessDirectory ¶
func GuessDirectory() string
Types ¶
type Addon ¶
type Addon struct { Name string Title string Library bool DisplayVersion string Version int DependsOn []Dependency Error error }
func InstalledAddons ¶
type Dependency ¶
type FileDetails ¶
type FileDetails struct { DownloadUrl string `json:"downloadUri"` FileListEntry }
type FileDetailsList ¶
type FileDetailsList []FileDetails
func ParseFileDetailsList ¶
func ParseFileDetailsList(reader io.Reader) (FileDetailsList, error)
type FileList ¶
type FileList []FileListEntry
func (FileList) ByPath ¶
func (f FileList) ByPath(path string) []FileListEntry
type FileListAddon ¶
type FileListEntry ¶
type FileListEntry struct { Id int `json:"id"` CategoryId int `json:"categoryId"` Version string `json:"version"` LastUpdate int64 `json:"lastUpdate"` Title string `json:"title"` Author string `json:"author"` FileInfoLink string `json:"fileInfoUri"` DonationLink string `json:"donationLink"` Downloads int `json:"downloads"` DownloadsMonthly int `json:"downloadsMonthly"` Favourites int `json:"favorites"` GameVersions []string `json:"gameVersions"` Checksum string `json:"checksum"` Addons []FileListAddon `json:"addons"` Library bool `json:"library"` }
Click to show internal directories.
Click to hide internal directories.