Move config structs into config.go.
This commit is contained in:
parent
2fc0f3143e
commit
47bae156e5
|
@ -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
|
||||
}
|
||||
|
|
13
cmd/shell.go
13
cmd/shell.go
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue