News for hackers. Stuff that matters.
Re:The Simplicity of Single-File Golang Deployments by klodolph on Wednesday March 22, 2023 @10:53AM (#35261979)
You may have to start both processes with SO_REUSEADDR, I don’t remember the exact semantics.

People have a healthy skepticism of signals from the C days, but if we’re talking about Go, you’d just call signal.Notify. Any way of signaling your app to shut down works, though.

https://pkg.go.dev/os/[email protected]#Notify

There are no comments on this comment yet.