package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Jun 3, 2020
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
¶
Package deadline provides deadline timer used to implement
net.Conn compatible connection
Deadline signals updatable deadline timer.
New creates new deadline timer.
func (d *Deadline) Done() <-chan struct{}
Done receives deadline signal.
Set new deadline. Zero value means no deadline.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.