mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
Refactor irc client (#19)
* refactor: update http handlers * feat: add trace log level * refactir: irc handler * refactor(definitions): add irc settings and invite cmd: * feat: add dft values to inputs * refactor: indexer irc forms * refactor(definitions): fix nickserv.password var: * feat: pre fill indexer name field * refactor: handle stopping and updates
This commit is contained in:
parent
5f69ae9380
commit
4d40d41628
48 changed files with 1380 additions and 943 deletions
|
@ -41,3 +41,10 @@ func (s *Server) Start() error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *Server) Shutdown() {
|
||||
log.Info().Msg("Shutting down server")
|
||||
|
||||
// stop all irc handlers
|
||||
s.ircService.StopHandlers()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue