Documentation
¶
Overview ¶
Package noop pkg/services/noop/noop.go c2-vis-appsvc
"noop" service — validates the pkg/services framework end-to-end without bringing in any real service's dependencies. Used by `skywire svc run --config services.json` smoke tests and as the minimal example of how a service plugs into the registry.
Block shape:
{ "type": "noop", "name": "demo", "tick_seconds": 5 }
Behavior: logs "tick" every tick_seconds (default 30) until ctx cancels. tick_seconds <= 0 disables ticking — service still runs to completion when ctx cancels but produces no output.
Index ¶
Constants ¶
View Source
const Type = "noop"
Type is the registry key used in services.json.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.