Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimedDispatch ¶
func TimedDispatch(tc *TimedCallType)
Types ¶
type TimedCallFunc ¶
type TimedCallFunc func(cc *TimedCallType, data interface{}) error
type TimedCallType ¶
type TimedCallType struct { // Debug flags like prevent send of tc for testing DbFlag map[string]bool Data []interface{} // Config per-function (or use a closure) // contains filtered or unexported fields }
func NewTimedCall ¶
func (*TimedCallType) AddFunc ¶
func (tc *TimedCallType) AddFunc(fx TimedCallFunc, dt interface{})
func (*TimedCallType) GetCurTick ¶
func (tc *TimedCallType) GetCurTick() int
GetCurTics returns the number of times that a timeout has saved the data.
func (*TimedCallType) SetTime ¶
func (tc *TimedCallType) SetTime(t int)
Click to show internal directories.
Click to hide internal directories.