Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // CfgFile File string `envconfig:"PICASSO_CONFIG_FILE" default:".picasso.yaml"` // LogFormat LogFormat string `envconfig:"PICASSO_CONFIG_LOG_FORMAT" default:"text"` // LogLevel LogLevel log.Level // Verbose Verbose bool `envconfig:"PICASSO_VERBOSE"` // FileMode FileMode os.FileMode }
func (*Config) SetupLogger ¶
func (c *Config) SetupLogger()
SetupLogger prepares the logger instance
type Settings ¶
Settings ...
func NewSettings ¶
func NewSettings() *Settings
func (*Settings) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.