MCPcopy
hub / github.com/caddyserver/caddy / SetGlobalStatus

Function SetGlobalStatus

notify/notify_windows.go:31–33  ·  view source on GitHub ↗

SetGlobalStatus assigns the channel through which status updates will be sent to the SCM. This is typically provided by the service handler when the service starts.

(status chan<- svc.Status)

Source from the content-addressed store, hash-verified

29// will be sent to the SCM. This is typically provided by the service
30// handler when the service starts.
31func SetGlobalStatus(status chan<- svc.Status) {
32 globalStatus = status
33}
34
35// Ready notifies the SCM that the service is fully running and ready
36// to accept stop or shutdown control requests.

Callers 1

ExecuteMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected