Versions in this module Expand all Collapse all v0 v0.2.0 Mar 3, 2015 Changes in this version + type Clock struct + func NewClock() *Clock + func (c *Clock) GetTime() int32 + type Direction struct + CleanUpTime float64 + MaxHits float64 + Name string + Store store.ShardMap + WindowSize float64 + func (d *Direction) Hit(clock int32, val interface{}) bool + type HitCounter struct + Clock *Clock + Count *RunningCount + func NewHitCounter(directions []Direction) *HitCounter + type RunningCount struct + func NewRunningCount(Granularity int, Duration time.Duration) *RunningCount + func (r *RunningCount) Count() uint64 + func (r *RunningCount) Inc()