ticker

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ticker 时间段固定的定时器

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(d time.Duration, imm bool) (schedulers.Scheduler, error)

New 声明一个固定时间段的定时任务

imm 是否立即执行一次任务,如果为 true, 则会在第一次调用 last 时返回当前时间。

Types

This section is empty.

Jump to

Keyboard shortcuts

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