in pkg/cfg/cfg.go [99:138]
func DefaultConfig() *Config {
return &Config{
TotalBufferSizeMB: 0,
Concurrency: 8,
Endpoint: "",
Region: "",
Socket: struct {
UDPAddress string `yaml:"UDPAddress"`
TCPAddress string `yaml:"TCPAddress"`
}{
UDPAddress: "127.0.0.1:2000",
TCPAddress: "127.0.0.1:2000",
},
ProxyServer: struct {
IdleConnTimeout int
MaxIdleConnsPerHost int
MaxIdleConns int
}{
IdleConnTimeout: 30,
MaxIdleConnsPerHost: 2,
MaxIdleConns: 0,
},
Logging: struct {
LogRotation *bool `yaml:"LogRotation"`
LogLevel string `yaml:"LogLevel"`
LogPath string `yaml:"LogPath"`
}{
LogRotation: util.Bool(true),
LogLevel: "prod",
LogPath: "",
},
LocalMode: util.Bool(false),
ResourceARN: "",
RoleARN: "",
NoVerifySSL: util.Bool(false),
ProxyAddress: "",
Version: 1,
}
}