clock

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct{}

func (System) Now

func (System) Now() time.Time

type TimeTicker

type TimeTicker struct {
	// contains filtered or unexported fields
}

func NewTicker

func NewTicker() *TimeTicker

func (*TimeTicker) Channel

func (t *TimeTicker) Channel() <-chan time.Time

func (*TimeTicker) Reset

func (t *TimeTicker) Reset(d time.Duration)

func (*TimeTicker) Stop

func (t *TimeTicker) Stop()

Jump to

Keyboard shortcuts

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