configs

package
v0.0.0-...-5a015fe Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RunningCMDError       = "failed to execute '%s' command. Error: %s"
	NotPlayersFoundError  = "no players found in the config file"
	EmptyEnvVariableError = "environment variable %s is empty"
)
View Source
const (
	Component          = "component"
	PlayersConfigsPath = "players"
	RunningCMD         = "Running command: %s"
	Player             = "Player: %s"
	ManagerEnvV        = "MANAGER_REPO"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogConfig

type LogConfig struct {
	Level string `mapstructure:"logLevel"`
}

LogConfig : Struct Represent configuration data for logging

type Players

type Players []repoConfig

func GetConfigs

func GetConfigs(folderpath string) (Players, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL