Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, stop context.CancelFunc, cfg *conf.GlobalConfig, clients *clients.Clients)
Types ¶
type GracefulShutdown ¶ added in v1.4.0
type GracefulShutdown struct {
// contains filtered or unexported fields
}
func NewGracefulShutdown ¶ added in v1.4.0
func NewGracefulShutdown(ctx context.Context, stop context.CancelFunc) *GracefulShutdown
func (*GracefulShutdown) Shutdown ¶ added in v1.4.0
func (s *GracefulShutdown) Shutdown(server *Server)
func (*GracefulShutdown) StopServices ¶ added in v1.4.0
func (s *GracefulShutdown) StopServices(ctx *context.Context, server *Server)
Click to show internal directories.
Click to hide internal directories.