Skip to content

feat(os/gapp): add unified multi-server application lifecycle#4777

Open
qinyuguang wants to merge 1 commit into
gogf:masterfrom
qinyuguang:feat/lifecycle
Open

feat(os/gapp): add unified multi-server application lifecycle#4777
qinyuguang wants to merge 1 commit into
gogf:masterfrom
qinyuguang:feat/lifecycle

Conversation

@qinyuguang
Copy link
Copy Markdown
Contributor

Introduce os/gapp App to coordinate Boot, Start, Stop, and OS signal handling across multiple Server implementations, supporting graceful or forceful shutdown in one place.

  • Add contrib/scheduler/gjob worker and cron servers implementing gapp.Server
  • Add grpcx GrpcServerAdapter with managed non-blocking start
  • Add ghttp.Server.Close for forceful shutdown; harden admin restart/shutdown
  • Add gproc.StartListen for background signal handling used by gapp

Introduce os/gapp App to coordinate Boot, Start, Stop, and OS signal
handling across multiple Server implementations, supporting graceful or
forceful shutdown in one place.

- Add contrib/scheduler/gjob worker and cron servers implementing gapp.Server
- Add grpcx GrpcServerAdapter with managed non-blocking start
- Add ghttp.Server.Close for forceful shutdown; harden admin restart/shutdown
- Add gproc.StartListen for background signal handling used by gapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant