Move the router to the new signals handler
This commit is contained in:
1 parent
dbc4b68301
commit
f723d5afd8
2 files changed
+8
-19
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user