Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Validator = validator.New() Path = path.NewPath() )
Functions ¶
func DefaultSteamCMDPath ¶
func DefaultSteamCMDPath() string
Types ¶
type App ¶
type App struct { Name string `json:"name" mapstructure:"name"` // Name of the game AppID string `json:"id" mapstructure:"id" validate:"required"` // Steam App ID Path string `json:"path,omitempty" mapstructure:"path" validate:"required,dir"` // Path to the mod directory Mods []*Mod `json:"mods,omitempty" mapstructure:"mods" validate:"omitempty,dive,required"` // List of mods to download for the game }
type Apps ¶
type Apps []*App
func (*Apps) Destinations ¶
Destinations returns a map of appID to destination path
type Config ¶
type Login ¶
type Login struct { Username string `json:"username" mapstructure:"username" validate:"required"` // Username Password string `json:"password" mapstructure:"password"` // Password }
Click to show internal directories.
Click to hide internal directories.