13 lines
155 B
Go
13 lines
155 B
Go
//go:build !windows
|
|
|
|
package wait
|
|
|
|
import (
|
|
"errors"
|
|
"syscall"
|
|
)
|
|
|
|
func isConnRefusedErr(err error) bool {
|
|
return errors.Is(err, syscall.ECONNREFUSED)
|
|
}
|