persister/whisper_aggregation.go
func NewWhisperAggregation() *WhisperAggregation {
	return &WhisperAggregation{
		Data: make([]*whisperAggregationItem, 0),
		Default: &whisperAggregationItem{
			name:                 "default",
			pattern:              nil,
			xFilesFactor:         0.5,
			aggregationMethodStr: "average",
			aggregationMethod:    whisper.Average,
		},
	}
}
func NewWhisperAggregation() *WhisperAggregation {
	return &WhisperAggregation{
		Data: make([]*whisperAggregationItem, 0),
		Default: &whisperAggregationItem{
			name:                 "default",
			pattern:              nil,
			xFilesFactor:         0.5,
			aggregationMethodStr: "average",
			aggregationMethod:    whisper.Average,
		},
	}
}
func NewWhisperAggregation ( ) * WhisperAggregation { return & WhisperAggregation { Data : make ( [ ] * whisperAggregationItem , 0 ) , Default : & whisperAggregationItem { name : " " , pattern : nil , xFilesFactor : 0.5 , aggregationMethodStr : " " , aggregationMethod : whisper . Average , } , } }
// NewWhisperAggregation create instance of WhisperAggregation
NewWhisperAggregation create instance of WhisperAggregation