Example #1
0
func setQuitTimer() {
	gstimer.CreateTimer(0, 0, gstimer.Msg{Action: gstimer.ACTION_SHUTDOWN})
}
Example #2
0
func setGsHeartBeatTimer() {
	gstimer.CreateTimer(0, 30000, gstimer.Msg{Action: gstimer.ACTION_HEARTBEAT})
}