package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Feb 27, 2015
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type D interface {
Set(time.Duration) time.Duration
Wait()
Get() time.Duration
}
Delay makes it easy to add (threadsafe) configurable delays to other
objects.
func Fixed(t time.Duration) D
Fixed returns a delay with fixed latency
Source Files
¶
Click to show internal directories.
Click to hide internal directories.