Versions in this module Expand all Collapse all v1 v1.0.17 Mar 26, 2024 v1.0.16 Jan 28, 2024 v1.0.15 Jul 13, 2023 Changes in this version + func SetupSignalHandler() (stopCh <-chan struct{}) + type Shutdown struct + func NewShutdown(serverShutdownTimeout time.Duration, ctx context.Context) (*Shutdown, error) + func (s *Shutdown) Graceful(stopCh <-chan struct{}, grpcServer *grpc.Server, ctx context.Context)