timer

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordTimer

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

func NewRecordTimer

func NewRecordTimer(interval time.Duration) *RecordTimer

func (*RecordTimer) Now

func (t *RecordTimer) Now() time.Time

func (*RecordTimer) Stop

func (t *RecordTimer) Stop() bool

Jump to

Keyboard shortcuts

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