Documentation ¶
Index ¶
- func Eventually(f func() bool) bool
- type DummyConn
- func (c *DummyConn) Close() error
- func (c *DummyConn) LocalAddr() net.Addr
- func (c *DummyConn) Read(b []byte) (n int, err error)
- func (c *DummyConn) RemoteAddr() net.Addr
- func (c *DummyConn) SetDeadline(t time.Time) error
- func (c *DummyConn) SetReadDeadline(t time.Time) error
- func (c *DummyConn) SetWriteDeadline(t time.Time) error
- func (c *DummyConn) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Eventually ¶
Runs f at 10ms intervals until it returns True. Gives up after 100 attempts.
Types ¶
Click to show internal directories.
Click to hide internal directories.