Documentation ¶
Overview ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableTicker ¶
type MutableTicker struct { // C is a read only channel C <-chan time.Time // contains filtered or unexported fields }
MutableTicker is a time.Ticker which can change update intervals
func NewMutableTicker ¶
func NewMutableTicker(t time.Duration) *MutableTicker
NewMutableTicker provides a ticker with an interval which can be changed
func (*MutableTicker) UpdateInterval ¶
func (m *MutableTicker) UpdateInterval(t time.Duration)
UpdateInterval modifies the interval of the Ticker.
Click to show internal directories.
Click to hide internal directories.