Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultCupConfigPath = "./cupconf.yaml"
Variables ¶
View Source
var FilePath string
Functions ¶
func GetValidLogLevels ¶
func GetValidLogLevels() []string
func LogLevelToString ¶
func StringToLogLevel ¶
Types ¶
type CupConfig ¶
type CupConfig struct {
LogLevel string `json:"logLevel"`
API ApiConfig `json:"api"`
Domains []DomainConfig `json:"domains"`
SimpleIPReportServices []SimpleIPReporterConfig `json:"simpleIpReportServices"`
}
var C CupConfig
func GetDefaultCupConfig ¶
func GetDefaultCupConfig() CupConfig
type DomainConfig ¶
type SimpleIPReporterConfig ¶
Click to show internal directories.
Click to hide internal directories.