Documentation ¶
Index ¶
- Variables
- func WordArray(p unsafe.Pointer, size uintptr) []mkf.WORD
- type TimerManager
- func (t *TimerManager) AddOneTimeEvent(countDown int, fn func(int)) uint64
- func (t *TimerManager) AddRepeatEvent(freq int, repeat int, fn func(int)) uint64
- func (t *TimerManager) RemoveEvent(id uint64)
- func (t *TimerManager) RepeatUntil(freq int, fn func(int), until func() bool) uint64
- func (t *TimerManager) Update()
Constants ¶
This section is empty.
Variables ¶
View Source
var Cptbl_big5 = [126][160]rune{}/* 126 elements not displayed */
Functions ¶
Types ¶
type TimerManager ¶
type TimerManager struct {
// contains filtered or unexported fields
}
func NewTimer ¶
func NewTimer() *TimerManager
func (*TimerManager) AddOneTimeEvent ¶
func (t *TimerManager) AddOneTimeEvent(countDown int, fn func(int)) uint64
func (*TimerManager) AddRepeatEvent ¶
func (t *TimerManager) AddRepeatEvent(freq int, repeat int, fn func(int)) uint64
func (*TimerManager) RemoveEvent ¶
func (t *TimerManager) RemoveEvent(id uint64)
func (*TimerManager) RepeatUntil ¶
func (t *TimerManager) RepeatUntil(freq int, fn func(int), until func() bool) uint64
func (*TimerManager) Update ¶
func (t *TimerManager) Update()
Click to show internal directories.
Click to hide internal directories.