g_timer

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetPeriodAndRun

func SetPeriodAndRun(handle func(), interval time.Duration) int

* SetPeriodAndRun create period timer and run handle periodically , return timer id * handle : user function * interval: time period

func StopWork

func StopWork(id int)

* StopWork stop periodic timer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL