Register factories no longer call c.RegisterService() explicitly.
WithService auto-discovers name from package path and registers.
Eliminates double-registration error.
Uses WithOption("name", "core-agent") for Options struct.
Co-Authored-By: Virgil <virgil@lethean.io>
|
||
|---|---|---|
| .. | ||
| harvest.go | ||
| harvest_test.go | ||
| monitor.go | ||
| monitor_test.go | ||
| register.go | ||
| sync.go | ||