timer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeStamp

type TimeStamp struct {
	Deadline int64
}

func (*TimeStamp) GetDeadline

func (timer *TimeStamp) GetDeadline() int64

func (*TimeStamp) IsExpired

func (timer *TimeStamp) IsExpired() bool

func (*TimeStamp) IsPending

func (timer *TimeStamp) IsPending() bool

func (*TimeStamp) IsStarted

func (timer *TimeStamp) IsStarted() bool

func (*TimeStamp) IsUnset

func (timer *TimeStamp) IsUnset() bool

func (*TimeStamp) Reset

func (timer *TimeStamp) Reset()

func (*TimeStamp) SetDeadline

func (timer *TimeStamp) SetDeadline(deadline int64)

Jump to

Keyboard shortcuts

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