adding helper interfaces
This commit is contained in:
parent
2603c67e10
commit
e2cf11729b
|
@ -21,3 +21,15 @@ type LastValueProvider interface {
|
||||||
type BoundedLastValueProvider interface {
|
type BoundedLastValueProvider interface {
|
||||||
GetBoundedLastValue(index int) (x, y1, y2 float64)
|
GetBoundedLastValue(index int) (x, y1, y2 float64)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FullValueProvider is an interface that combines `ValueProvider` and `LastValueProvider`
|
||||||
|
type FullValueProvider interface {
|
||||||
|
ValueProvider
|
||||||
|
LastValueProvider
|
||||||
|
}
|
||||||
|
|
||||||
|
// FullBoundedValueProvider is an interface that combines `ValueProvider` and `LastValueProvider`
|
||||||
|
type FullBoundedValueProvider interface {
|
||||||
|
ValueProvider
|
||||||
|
LastValueProvider
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user