Exemplo n.º 1
0
func (s *silence) ModifyBase(b stats.Base) stats.Base {
	b.Rate *= 1.0 - float64(s.Ticker)/float64(s.Duration)
	return b
}