Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SamNet-dev/snix
/ isTimeout
Function
isTimeout
scanner/sni.go:228–231 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
226
}
227
228
func
isTimeout(err error) bool {
229
var
ne net.Error
230
return
errors.As(err, &ne) && ne.Timeout()
231
}
Callers
2
classifyDialErr
Function · 0.85
classifyTLSErr
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected