refactor: remove duplicate Server methods and clean up main.go

- Removed all duplicate Server methods from main.go (630 lines)
- Fixed import conflicts and unused imports
- main.go reduced from 3,298 to 340 lines (89% reduction)
- Clean modular structure with server package handling all server functionality
- Achieved clean build with no compilation errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-20 17:18:59 +03:00
parent a5ea869b28
commit 85f3aa69d2
6 changed files with 958 additions and 3355 deletions

View File

@@ -51,4 +51,4 @@ func (s *Server) setupRoutes() *mux.Router {
router.HandleFunc("/api/backup/status", s.getBackupStatusHandler).Methods("GET")
return router
}
}