mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
21 lines
597 B
Go
21 lines
597 B
Go
package flow
|
|
|
|
// Configuration describes the configuration for the flow component
|
|
type Configuration struct {
|
|
// Listen defines the default listening string for netflow.
|
|
Listen string
|
|
// Workers define the number of workers to use for decoding.
|
|
Workers int
|
|
// QueueSize defines the size of the channel used to
|
|
// communicate incoming flows. 0 can be used to disable
|
|
// buffering.
|
|
QueueSize uint
|
|
}
|
|
|
|
// DefaultConfiguration represents the default configuration for the flow component
|
|
var DefaultConfiguration = Configuration{
|
|
Listen: "localhost:2055",
|
|
Workers: 1,
|
|
QueueSize: 1000,
|
|
}
|