Documentation ¶
Overview ¶
Package deadline provides deadline timer used to implement net.Conn compatible connection
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deadline ¶
type Deadline struct {
// contains filtered or unexported fields
}
Deadline signals updatable deadline timer. Also, it implements context.Context.
func (*Deadline) Err ¶
Err returns context.DeadlineExceeded if the deadline is exceeded. Otherwise, it returns nil.
Click to show internal directories.
Click to hide internal directories.