config

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultAppConfig

func CreateDefaultAppConfig()

func LoadConfig

func LoadConfig()

func SaveConfig

func SaveConfig(config interface{})

Types

type AppConfig

type AppConfig struct {
	S3AccessKey    string
	S3SecretKey    string
	Project        string
	ConfigFilePath string
	ConfigFileName string
}

type Application

type Application struct {
	AppConfigFile string
	AppConfig     AppConfig
	Flags         Flags
}
var App *Application

type Flags

type Flags struct {
	AppConfig
	S3AccessKey string
	S3SecretKey string
	Project     string
	Debug       bool
}

Jump to

Keyboard shortcuts

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