mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 16:59:12 +02:00
unify shutdown logs.
This commit is contained in:
parent
fd35254487
commit
7e2f173460
6 changed files with 10 additions and 9 deletions
|
@ -94,5 +94,7 @@ func (manager *HttpManagerCtx) Start() {
|
|||
}
|
||||
|
||||
func (manager *HttpManagerCtx) Shutdown() error {
|
||||
manager.logger.Info().Msg("shutdown")
|
||||
|
||||
return manager.http.Shutdown(context.Background())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue