...since there's no need to have separate handles Also, make router.Start() perform all startup, including starting a sniffer goroutine. The main goroutine is now kept alive by the signal handling loop.
...since there's no need to have separate handles Also, make router.Start() perform all startup, including starting a sniffer goroutine. The main goroutine is now kept alive by the signal handling loop.