Move the router to the new signals handler

This commit is contained in:
Alvaro Saurin committed 2015-05-06 15:07:36 +02:00
1 parent dbc4b68301
commit f723d5afd8
2 files changed
+8 -19

No files matched your search

+5
View File
@@ -94,6 +94,11 @@ func (router *Router) Start() {
}
}
func (router *Router) Stop() error {
// TODO: perform greceful shutdown...
return nil
}
func (router *Router) UsingPassword() bool {
return router.Password != nil
}