Versions in this module Expand all Collapse all v1 v1.0.0 Feb 17, 2018 Changes in this version + type Constant float64 + func (c Constant) EnforceRange(float64) float64 + func (c Constant) InRange(f float64) bool + func (c Constant) Mult(f float64) Range + func (c Constant) Percentile(float64) float64 + func (c Constant) Poll() float64 + type Infinite struct + func (i Infinite) EnforceRange(f float64) float64 + func (i Infinite) InRange(f float64) bool + func (i Infinite) Mult(f float64) Range + func (i Infinite) Percentile(float64) float64 + func (i Infinite) Poll() float64 + type Linear struct + Max float64 + Min float64 + func (lfr Linear) EnforceRange(f float64) float64 + func (lfr Linear) InRange(f float64) bool + func (lfr Linear) Mult(f float64) Range + func (lfr Linear) Percentile(f float64) float64 + func (lfr Linear) Poll() float64 + type Range interface + EnforceRange func(f float64) float64 + InRange func(f float64) bool + Mult func(f float64) Range + Percentile func(f float64) float64 + Poll func() float64 + func NewConstant(f float64) Range + func NewInfinite() Range + func NewLinear(min, max float64) Range + func NewSpread(base, spread float64) Range Incompatible versions in this module v2.0.0-beta+incompatible Jul 2, 2019