// isExistingSocket checks if path exists and is domain socket func isExistingSocket(path string) bool { … }