INNER CODE UNIT · Go

ctxStartup

powerman/go-monolith-example · cmd/mono/main.go:138

		ctxStartup := structlog.NewContext(ctxStartup, log) //nolint:govet // Shadow.
		services[i] = func(ctxShutdown Ctx) error {
			ctxShutdown = structlog.NewContext(ctxShutdown, log)
			return runServe(ctxStartup, ctxShutdown, shutdown)
		}
	}
	return concurrent.Serve(ctxShutdown, shutdown, services...)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…