Documentation
¶
Index ¶
Constants ¶
View Source
const (
MIN_TIMER_INTERVAL = 1 * time.Millisecond
)
Variables ¶
This section is empty.
Functions ¶
func StartTicks ¶
Start the self-ticking routine, which ticks per tickInterval
Types ¶
type Timer ¶ added in v0.0.3
type Timer struct {
// contains filtered or unexported fields
}
func AddCallback ¶
func AddCallback(d time.Duration, callback CallbackFunc) *Timer
Add a callback which will be called after specified duration
Click to show internal directories.
Click to hide internal directories.