1
0
Fork 0
This repository has been archived on 2025-07-27. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
bareos-zabbix-check/config/config.go

21 lines
604 B
Go

package config
// Config object
type Config struct {
verbose bool
quiet bool
stateFile string
workDir string
}
// Verbose gets the verbose field of the configuration
func (config *Config) Verbose() bool { return config.verbose }
// Quiet gets the quiet field of the configuration
func (config *Config) Quiet() bool { return config.quiet }
// StateFile gets the stateFile field of the configuration
func (config *Config) StateFile() string { return config.stateFile }
// WorkDir gets the workDir field of the configuration
func (config *Config) WorkDir() string { return config.workDir }