MCPcopy 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
228func isTimeout(err error) bool {
229 var ne net.Error
230 return errors.As(err, &ne) && ne.Timeout()
231}

Callers 2

classifyDialErrFunction · 0.85
classifyTLSErrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected