config

package
v0.0.0-...-29cec6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindEnvVars

func BindEnvVars()

BindEnvVars binds configuration keys to env vars

func GetAnsibleRoleGitURL

func GetAnsibleRoleGitURL() string

GetAnsibleRoleGitURL returns the Git URL to fetch the Ansible installation role

func GetMojangVersionsURL

func GetMojangVersionsURL() string

GetMojangVersionsURL returns the URL to fetch versions

func GetWorkspaceFolder

func GetWorkspaceFolder() string

GetWorkspaceFolder returns the workspace folder ~/.minecraft-manager/workspace

func SetDefaults

func SetDefaults()

SetDefaults set's up configuration default values

func SetupViper

func SetupViper(cfgFile string)

SetupViper sets up the Viper configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳