time

package
v0.0.0-...-5d666d8 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireTicker

func AcquireTicker(d time.Duration) *time.Ticker

AcquireTicker returns a ticker from the pool if possible.

func AcquireTimer

func AcquireTimer(d time.Duration) *time.Timer

AcquireTimer returns a timer from the pool if possible.

func ReleaseTicker

func ReleaseTicker(tm *time.Ticker)

ReleaseTicker returns a ticker into the pool.

func ReleaseTimer

func ReleaseTimer(t *time.Timer)

ReleaseTimer returns a timer into the pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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