Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add unix domain socket listener to service.ListenAndServeUnix #837
Thanks for the PR! goa has to compile / run on Windows and in App Engine (package syscall cannot be used there). Also it seems a bit strange to handle signals only when listening on a Unix socket. Given all this and how it's simple to do this in your own code I'm not sure this is worth adding to goa. Is there a reason you cannot have that code outside? Maybe this should be an example instead.
Sorry, I was not able to consider multiple environments.
I will take you another approach that inject listener to function like net.http.Serve.