Package Usage: go: github.com/judwhite/go-svc
Package svc helps you write Windows Service executables without getting in the way of other target platforms.
To get started, implement the Init, Start, and Stop methods to do
any work needed during these steps.
Init and Start cannot block. Launch long-running code in a new Goroutine.
Stop may block for a short amount of time to attempt clean shutdown.
Call svc.Run() with a reference to your svc.Service implementation to start your program.
When running in console mode Ctrl+C is treated like a Stop Service signal.
For a full guide visit https://github.com/judwhite/go-svc
7 versions
Latest release: over 4 years ago
86 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/judwhite/go-svc