agent/pkg/monitor/register.go
Virgil 3aa9760ead fix(ax): continue AX comment cleanup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:52:40 +00:00

16 lines
438 B
Go

// SPDX-License-Identifier: EUPL-1.2
package monitor
import (
core "dappco.re/go/core"
)
// c := core.New(core.WithService(monitor.Register))
// service, _ := core.ServiceFor[*monitor.Subsystem](c, "monitor")
// core.Println(service.Name()) // "monitor"
func Register(c *core.Core) core.Result {
service := New(Options{})
service.ServiceRuntime = core.NewServiceRuntime(c, Options{})
return core.Result{Value: service, OK: true}
}