type Config struct { Publisher struct { cmd.ServiceConfig Features map[string]bool // If this is non-zero, profile blocking events such that one even is // sampled every N nanoseconds. // https://golang.org/pkg/runtime/#SetBlockProfileRate BlockProfileRate int UserAgent string // Chains is a list of lists of certificate filenames. Each inner list is // a chain, starting with the issuing intermediate, followed by one or // more additional certificates, up to and including a root. Chains [][]string `validate:"min=1,dive,min=2,dive,required"` } Syslog cmd.SyslogConfig OpenTelemetry cmd.OpenTelemetryConfig }