func ChangeTimerFunc(name string, ticker int, fn func()) {
	if _, ok := timerFuncs[name]; ok {
		timerFuncs[name].Fn = fn
		timerFuncs[name].Ticker = ticker
	} else {
		println("change invalid timer func : " + name)
	}
}
ChangeTimerFunc can change timer func by given name.
If the func of name is none, do not change anything, print error message.
package model
import (
	"time"
)
type timerFunc struct {
	Fn     func()
	Ticker int
}
var (
	timerCount int
	timerFuncs map[string]*timerFunc
)
func init() {
	timerCount = 0
	timerFuncs = make(map[string]*timerFunc)
}
func SetTimerFunc(name string, ticker int, fn func()) {
	tfn := new(timerFunc)
	tfn.Fn = fn
	tfn.Ticker = ticker
	timerFuncs[name] = tfn
}