Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Config stores the global configuration
Config config
)
Functions ¶
func Load ¶
Load initializes the Config variable from file and the environment.
Environment variables take precedence over the file.
func StoragePath ¶ added in v0.7.0
StoragePath looks up the base path for storageName. The second boolean return value indicates if anything was found.
func ValidateStorages ¶ added in v0.7.0
func ValidateStorages() error
ValidateStorages checks for pathological values in Config.Storages
Types ¶
Click to show internal directories.
Click to hide internal directories.