overflow_commons_go/config/probe/CentralConfig.go

9 lines
421 B
Go
Raw Normal View History

2017-12-01 09:44:28 +00:00
package probe
2017-12-01 09:31:54 +00:00
type CentralConfig struct {
URL string `required:"true" json:"url" yaml:"url" toml:"url"`
APIKey string `required:"true" json:"apiKey" yaml:"apiKey" toml:"apiKey"`
ReadBufferSize int `default:"8192" json:"readBufferSize" yaml:"readBufferSize" toml:"readBufferSize"`
WriteBufferSize int `default:"8192" json:"writeBufferSize" yaml:"writeBufferSize" toml:"writeBufferSize"`
}