Documentation
¶
Overview ¶
Package paths decides where Anyserve keeps its files on each OS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dirs ¶
type Dirs struct {
// Config holds settings such as the registry list.
Config string
// Data holds instances, backups and tools like SteamCMD.
Data string
// Cache holds registry indexes and downloads that can be refetched.
Cache string
}
Dirs are Anyserve's working directories.
func Default ¶
Default returns the per-user directories for this OS. Setting ANYSERVE_HOME puts everything under one directory instead, which tests and portable installs use.
func (Dirs) Registries ¶
Registries is the verified registry index cache.