handleShutdown handles the shutdown request
()
| 242 | |
| 243 | // handleShutdown handles the shutdown request |
| 244 | func (h *Handler) handleShutdown() (*ShutdownResult, error) { |
| 245 | h.server.Logger().Println("Shutdown requested") |
| 246 | return &ShutdownResult{}, nil |
| 247 | } |
| 248 | |
| 249 | // handleExit handles the exit notification |
| 250 | func (h *Handler) handleExit() { |