Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close(c Closer)
Close is a convenience function to close a object that has a Close() method, ignoring any errors Used to satisfy errcheck lint
func Wait ¶ added in v0.4.1
Wait takes a check interval and timeout and waits for a function to return `true`. Wait will return `true` on success and `false` on timeout. The passed function, in turn, should pass `true` (or anything, really) to the channel when it's done. Pass `0` as the timeout to run infinitely until completion.
Types ¶
Click to show internal directories.
Click to hide internal directories.