task

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Timer

func Timer(delay, tick time.Duration, fun TimerFunc, param interface{})

*

  • 定时调用
  • @delay 首次延时
  • @tick 间隔
  • @fun 定时执行function
  • @param fun参数

Types

type TimerFunc

type TimerFunc func(interface{}) bool

Source Files

  • clean_connection _task.go
  • task_init.go

Jump to

Keyboard shortcuts

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