timeout

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeOut

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

func (*TimeOut) Elapsed

func (to *TimeOut) Elapsed() bool

func (*TimeOut) ElapsedChan

func (to *TimeOut) ElapsedChan() <-chan bool

func (*TimeOut) ElapsedMillis

func (to *TimeOut) ElapsedMillis() float64

func (*TimeOut) Enable

func (to *TimeOut) Enable(b bool)

func (*TimeOut) Reset

func (to *TimeOut) Reset()

func (*TimeOut) SetTimeOut

func (to *TimeOut) SetTimeOut(millis int)

func (*TimeOut) Start

func (to *TimeOut) Start(millis int)

Jump to

Keyboard shortcuts

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