Commit Graph

7 Commits

Author SHA1 Message Date
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
alex
d442871950 Refactor configuration and update handling:
- Modify .luarc.json to include global Lua scripts.
- Update Makefile to include LDFLAGS for versioning.
- Enhance node.go to implement version checking and update handling.
- Refactor Lua global variables in _globals.lua and echo.lua to use new structures.
- Remove deprecated http.lua and update config.yaml for TLS and update settings.
- Introduce new update.go for version management and update checking.
- Add tests for version comparison in update_test.go.
- Improve error handling in various server methods.
2025-07-03 22:38:05 +03:00
alex
ef1efdd585 Implement TLS support: update configuration for TLS, modify server to handle HTTPS, and enhance logging for request handling 2025-06-24 22:15:37 +03:00
alex
973c060e5f Refactor echo functionality: add new echo implementation, remove deprecated echo?b1 file, and update preparation script 2025-06-23 13:47:59 +03:00
alex
241809025d Enhance server functionality: add versioning support, implement command handling improvements, and introduce new Lua scripts for command execution 2025-06-23 01:26:16 +03:00
alex
d3b2944cd8 first commit 2025-06-22 11:32:11 +03:00