Versions in this module Expand all Collapse all v1 v1.0.0 Jul 30, 2020 Changes in this version + type ValuePolicy interface + Value func(ts int64) float64 + func ParseValuePolicy(p string) (ValuePolicy, error) + type ValuePolicyDailySine struct + func NewDailySine(args string) (ValuePolicyDailySine, error) + func (v ValuePolicyDailySine) Value(ts int64) float64 + type ValuePolicyMultiple struct + func (v *ValuePolicyMultiple) Value(ts int64) float64 + type ValuePolicyRandom struct + func (v *ValuePolicyRandom) Value(ts int64) float64 + type ValuePolicySingle struct + func (v *ValuePolicySingle) Value(ts int64) float64 + type ValuePolicyTimestamp struct + func (v *ValuePolicyTimestamp) Value(ts int64) float64