Skip to content

Can we make Graceful's ShutdownInitiated property public? #752

@mathvav

Description

@mathvav

Graceful's server struct exposes a ShutdownInitiated func() variable that is called when the program is shutting down.

Can we somehow expose this variable to the end user? My software runs several goroutine processes that I'd love to send a channel value to in order to let them clean up safely.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions