Documentation ¶
Index ¶
- Variables
- func GetBaseDir() (string, error)
- func GetImageHero(user, appId string) (string, error)
- func GetImageLandscape(user, appId string) (string, error)
- func GetImageLogo(user, appId string) (string, error)
- func GetImagePortrait(user, appId string) (string, error)
- func GetImagesDir(user string) (string, error)
- func GetShortcutsPath(user string) (string, error)
- func GetUserDir() (string, error)
- func GetUsers() ([]string, error)
- func HasShortcuts(user string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImageNotFound = errors.New("image not found")
ErrImageNotFound indicates that a grid images does not exist.
Functions ¶
func GetBaseDir ¶
GetSteamDir will return the base steam config directory
func GetImageHero ¶
GetImageHero will return the hero grid image
func GetImageLandscape ¶
GetImageLandscape will return the landscape grid image
func GetImageLogo ¶
GetImageLogo will return the logo grid image
func GetImagePortrait ¶
GetImagePortrait will return the portrait grid image
func GetImagesDir ¶
GetImagesDir will return the steam images directory
func GetShortcutsPath ¶
GetShortcutsPath will return the path to the shortcuts file for the given user.
func GetUserDir ¶
GetSteamUserDir will return the steam userdata directory
func HasShortcuts ¶
Whether or not the user has a shortcuts file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.