package deadline
Import Path
github.com/pion/transport/v3/deadline (on go.dev)
Dependency Relation
imports 3 packages, and imported by 5 packages
Involved Source Files
Package deadline provides deadline timer used to implement
net.Conn compatible connection
timer.go
timer_generic.go
Package-Level Type Names (only one)
Deadline signals updatable deadline timer.
Also, it implements context.Context.
Deadline returns current deadline.
Done receives deadline signal.
Err returns context.DeadlineExceeded if the deadline is exceeded.
Otherwise, it returns nil.
Set new deadline. Zero value means no deadline.
Value returns nil.
*Deadline : context.Context
func New() *Deadline
Package-Level Functions (only one)
New creates new deadline timer.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |