Documentation ¶
Index ¶
- func Add(method string, endpoint string, handler Handler)
- func Setup(version string, developmentMode bool) error
- func Start(address string, ready chan bool) error
- func Use(middleware Middleware)
- type Context
- type Handler
- type LaunchShortcutData
- type LaunchShortcutResult
- type LoadLibraryResult
- type Middleware
- type ModifyShortcutData
- type ModifyShortcutResult
- type OpenLinkData
- type OpenLinkResult
- type ProcessROMsData
- type ProcessROMsResult
- type Route
- type RunInstallData
- type RunInstallResult
- type RunSetupData
- type RunSetupResult
- type SaveLibraryResult
- type ScrapeDataResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { URI string Request *http.Request Response http.ResponseWriter StatusCode int }
Context struct
type LaunchShortcutData ¶ added in v0.0.20
Launch shortcut data
type LaunchShortcutResult ¶ added in v0.0.20
Launch shortcut result
type LoadLibraryResult ¶
type LoadLibraryResult struct { Status string `json:"status"` Error string `json:"error"` SteamPath string `json:"steamPath"` UserConfigPath string `json:"userConfigPath"` UserArtworksPath string `json:"userArtworksPath"` }
Load library result
type ModifyShortcutData ¶
type ModifyShortcutData struct { Action string `json:"action"` AppID uint `json:"appId"` AppName string `json:"appName"` StartDir string `json:"startDir"` Exe string `json:"exe"` LaunchOptions string `json:"launchOptions"` IconURL string `json:"iconUrl"` LogoURL string `json:"logoUrl"` CoverURL string `json:"coverUrl"` BannerURL string `json:"bannerUrl"` HeroURL string `json:"heroUrl"` }
Modify shortcut data
type ModifyShortcutResult ¶ added in v0.0.16
Modify shortcut result
type OpenLinkData ¶ added in v0.0.20
type OpenLinkData struct {
Link string `json:"link"`
}
Open link data
type OpenLinkResult ¶ added in v0.0.20
Open link result
type ProcessROMsData ¶
type ProcessROMsData struct { Platforms []string `json:"platforms"` Preferences []string `json:"preferences"` Rebuild bool `json:"rebuild"` }
Process ROMs data
type ProcessROMsResult ¶ added in v0.0.16
Process ROMS result
type RunInstallData ¶
type RunInstallData struct {
Programs []string `json:"programs"`
}
Run install data
type RunInstallResult ¶ added in v0.0.16
Run install result
type RunSetupData ¶
type RunSetupData struct { UseSymlink bool `json:"useSymlink"` StoragePath string `json:"storagePath"` }
Run setup data
type RunSetupResult ¶ added in v0.0.16
Run setup result
type SaveLibraryResult ¶ added in v0.0.16
Save library result
type ScrapeDataResult ¶ added in v0.0.16
type ScrapeDataResult struct { Status string `json:"status"` Error string `json:"error"` Result *scraper.ScrapeResult `json:"result"` }
Scrape data result
Click to show internal directories.
Click to hide internal directories.