Cuong Manh Le
af05cb2d94
refactor: replace direct newService calls with ServiceCommand pattern
...
- Replace all direct newService() calls with ServiceCommand initialization
- Update command constructors to use ServiceCommand instead of ServiceManager
- Simplify LogCommand and UpgradeCommand structs by removing serviceManager field
- Remove unused global svcConfig variable from prog.go
- Improve consistency and centralize service creation logic
This change establishes a consistent pattern for service operations across
the codebase, making it easier to maintain and extend service-related
functionality.
2025-10-09 17:49:21 +07:00
..
2024-02-07 14:40:18 +07:00
2025-10-09 17:49:21 +07:00
2024-12-19 22:10:34 +07:00
2025-01-31 20:04:03 +07:00
2025-02-18 20:25:13 +07:00
2024-08-07 15:51:11 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2023-08-15 18:22:38 +07:00
2025-01-20 14:59:31 +07:00
2023-08-15 18:22:38 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2024-10-24 13:05:48 +07:00
2024-10-24 13:05:48 +07:00
2025-10-09 16:47:51 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2023-12-13 14:53:29 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2024-08-07 15:51:11 +07:00
2025-10-09 16:47:51 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:46:02 +07:00
2023-11-06 20:01:03 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:46:02 +07:00
2023-11-16 20:55:39 +07:00
2025-02-18 20:25:13 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2023-08-15 18:22:38 +07:00
2025-10-09 17:49:21 +07:00
2023-08-15 18:22:38 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2023-08-15 18:22:38 +07:00
2023-08-15 18:22:38 +07:00
2024-05-09 18:39:30 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-02-26 00:44:13 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2024-08-07 15:51:11 +07:00
2023-11-06 20:01:03 +07:00
2023-11-06 20:01:03 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:46:02 +07:00
2025-10-09 17:49:20 +07:00
2025-05-15 17:00:59 +07:00
2025-05-15 17:00:59 +07:00
2024-08-07 15:51:11 +07:00
2024-08-07 15:51:11 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2023-08-15 18:22:38 +07:00
2025-10-09 17:49:21 +07:00
2025-03-26 23:18:04 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:49:21 +07:00
2025-10-09 17:46:02 +07:00
2024-02-07 14:40:18 +07:00