thinktime

package
v0.0.0-...-9d95335 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindUnit

func FindUnit(s string) string

func RandInt

func RandInt(n int64) int64

Types

type ThinkTime

type ThinkTime struct {
	Min, Max time.Duration
}

func ParseThinkTime

func ParseThinkTime(think string) (t *ThinkTime, err error)

func (ThinkTime) Think

func (t ThinkTime) Think(thinkNow bool) (thinkTime time.Duration)

Jump to

Keyboard shortcuts

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