Move config structs into config.go.

This commit is contained in:
Jacob Hoffman-Andrews 2015-11-12 12:01:14 -08:00
parent 2fc0f3143e
commit 47bae156e5
2 changed files with 13 additions and 13 deletions

View File

@ -11,3 +11,16 @@ type GoogleSafeBrowsingConfig struct {
APIKey string
DataDir string
}
// SyslogConfig defines the config for syslogging.
type SyslogConfig struct {
Network string
Server string
StdoutLevel *int
}
// StatsdConfig defines the config for Statsd.
type StatsdConfig struct {
Server string
Prefix string
}

View File

@ -227,19 +227,6 @@ type Config struct {
SubscriberAgreementURL string
}
// SyslogConfig defines the config for syslogging.
type SyslogConfig struct {
Network string
Server string
StdoutLevel *int
}
// StatsdConfig defines the config for Statsd.
type StatsdConfig struct {
Server string
Prefix string
}
// CAConfig structs have configuration information for the certificate
// authority, including database parameters as well as controls for
// issued certificates.