11 Commits

Author SHA1 Message Date
aebc3d2e9b - move run hook to external package
- replace own contains function to slices.Contains
2025-07-30 12:33:51 +03:00
c61bc841e6 um add modernc/sqlite 2025-07-29 21:30:17 +03:00
74f166e6cf make use of AppX and CoreState in program modules 2025-07-29 17:54:57 +03:00
bd54628b5c remove unused regexp 2025-07-29 16:42:02 +03:00
1675001f24 add panic recover to run function 2025-07-29 13:34:41 +03:00
ec94df5f4a Project structure refactor:
- Change package name general_server to gateway
- Changing the structure of directories and packages
- Adding vendor to the project
2025-07-28 20:16:40 +03:00
alex
77baa1430e Initial commit: not functional 2025-07-25 11:31:53 +03:00
alex
aa45a2e3e4 Some changes with http server 2025-07-12 13:20:25 +03:00
alex
29d9f0487b Eliminating lint static checker's whining 2025-07-10 18:22:53 +03:00
alex
5bc334fd2c Fixing updates 2025-07-10 18:03:30 +03:00
alex
9919f77c90 Refactor core configuration and UUID handling
- Changed UUIDLength type from byte to int in core/config/consts.go
- Introduced MetaDir constant in core/config/consts.go
- Added corestate package with initial state management and UUID handling
- Implemented GetNodeUUID and SetNodeUUID functions for UUID file management
- Created RunManager and RunFileManager for runtime directory management
- Updated GeneralServer to use new configuration structure
- Removed deprecated init package and replaced with main entry point
- Added color utility functions for logging
- Enhanced UUID generation functions in utils package
- Updated update logic to handle new configuration structure
- Added routines for cleaning temporary runtime directories
- Introduced response formatting for API responses
2025-07-09 01:21:34 +03:00