docs(telemetry): fix fictional launcher.Register/health.Register in doc examples #2
@@ -31,8 +31,8 @@
|
|||||||
// }
|
// }
|
||||||
// defer shutdown(ctx)
|
// defer shutdown(ctx)
|
||||||
//
|
//
|
||||||
// // Wire into the launcher so shutdown runs before process exit:
|
// // Place the defer before lc.Run() so shutdown fires after the launcher
|
||||||
// // launcher.BeforeStop(func() error { return shutdown(ctx) })
|
// // stops, before the process exits.
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// # Local Development: console mode
|
// # Local Development: console mode
|
||||||
|
|||||||
Reference in New Issue
Block a user