Commit Graph

28 Commits

Author SHA1 Message Date
74f166e6cf make use of AppX and CoreState in program modules 2025-07-29 17:54:57 +03:00
92c89996f5 remove some garbage 2025-07-29 16:46:23 +03:00
e35972b8ad add initial support for lua scripts 2025-07-29 16:43:42 +03:00
0344d58ad4 add jsonrpc errors about methods 2025-07-29 16:43:23 +03:00
cf7bd1ceec add panic reciever to the Gateway router 2025-07-29 16:43:03 +03:00
c3540bfbe1 add CatchPanicWithFallback 2025-07-29 16:42:25 +03:00
b103736a9d add resolveMethodPath to resolve giving methods 2025-07-29 16:41:45 +03:00
7eeedf0b31 remove listAllowedCmd regexp 2025-07-29 16:41:15 +03:00
1675001f24 add panic recover to run function 2025-07-29 13:34:41 +03:00
e01ecdf1db add panic catch functions 2025-07-29 13:33:58 +03:00
febee7cac5 add SafeFetch function 2025-07-29 12:44:25 +03:00
bf5e136dc9 change sv1's Handle method 2025-07-29 11:28:04 +03:00
86cdc9adf2 remove header and status 2025-07-29 11:27:36 +03:00
f09afdb850 add response and error constructors 2025-07-29 11:26:48 +03:00
efbca43f27 make both Response and Error in one structure 2025-07-29 11:26:26 +03:00
a0451aa8a0 add full jsonrpc-2.0 batch support 2025-07-29 11:25:48 +03:00
7608bcfed3 remove w and r fields from GatewayServer and change Handle method 2025-07-29 11:25:26 +03:00
c62710a7d0 remove some garbage 2025-07-29 09:43:27 +03:00
0151c3f68a add test response using rpc.WriteResponse 2025-07-29 09:39:07 +03:00
1f36f2d7bc Move http write functions to writers.go 2025-07-29 09:33:03 +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
27bda702bd Add configuration and v1 server implementation; create handler methods for command execution and listing 2025-06-22 17:09:47 +03:00
alex
c15e6c5b15 Refactor internal server structure: remove v1 package and migrate functionality to a new v1 module; update dependencies and improve command handling. 2025-06-22 17:01:14 +03:00
alex
213db0b8c7 Update internal/config dependency to latest version 2025-06-22 11:56:54 +03:00
alex
0d8673254e Refactor server package structure and update error handling methods; remove unused dependencies 2025-06-22 11:54:16 +03:00
alex
eaff815270 Refactor handler methods to use instance methods for logging and error handling; add utility functions for UUID generation and JSON error responses. 2025-06-22 11:48:33 +03:00
alex
07e1d3ecdd ./ 2025-06-22 11:38:53 +03:00
alex
d3b2944cd8 first commit 2025-06-22 11:32:11 +03:00