Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DefaultCapacity is max size of ring
DefaultCapacity = 256
)
Functions ¶
This section is empty.
Types ¶
type Measure ¶
type Measure interface { //Value from the measure Value() float64 }
Measure value of the measure
type Ring ¶
type Ring struct {
// contains filtered or unexported fields
}
Ring structure
func (*Ring) SetCapacity ¶
SetCapacity fix the maximum capacity of the ring
Click to show internal directories.
Click to hide internal directories.