Registry / utility / judwhite-go-svc

judwhite-go-svc

JSON →
library1.2.1gogounverified

Package svc helps you write Windows Service executables without getting in the way of other target platforms.

go get github.com/judwhite/go-svc
INSTALL
IMPORT
SIG · JUDWHITE-GO-SVC
J
judwhite-go-svc
utilitygov1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

svc
github.com/judwhite/go-svc

Basic Windows service skeleton

package main import "github.com/judwhite/go-svc" func main() { prg := &program{} svc.Run(prg) } type program struct{} func (p *program) Init(env svc.Environment) error { return nil } func (p *program) Start() error { return nil } func (p *program) Stop() error { return nil }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
judwhite-go-svc — go get judwhite-go-svc · libregistry