From e57cdc63548a0726f4595a1f500c41fb7fe9f89d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Aug 2016 00:26:03 -0700 Subject: [PATCH] pixiecore: document Shutdown. --- pixiecore/pixiecore.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pixiecore/pixiecore.go b/pixiecore/pixiecore.go index b9b2045..7587a7a 100644 --- a/pixiecore/pixiecore.go +++ b/pixiecore/pixiecore.go @@ -217,6 +217,7 @@ func (s *Server) Serve() error { return err } +// Shutdown causes Serve() to exit, cleaning up behind itself. func (s *Server) Shutdown() { select { case s.errs <- nil: