Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ SetReadDeadline
Method
SetReadDeadline
polyamide/tun/netstack/tun.go:473–476 ·
view source on GitHub ↗
(t time.Time)
Source
from the content-addressed store, hash-verified
471
}
472
473
func
(pc *PingConn) SetReadDeadline(t time.Time) error {
474
pc.deadline.Reset(time.Until(t))
475
return
nil
476
}
477
478
var
(
479
errNoSuchHost = errors.New(
"no such host"
)
Callers
2
SetDeadline
Method · 0.95
main
Function · 0.45
Calls
1
Reset
Method · 0.45
Tested by
no test coverage detected