Commit Graph
19 Commits
Author SHA1 Message Date
alexey c3540bfbe1 add CatchPanicWithFallback 2025-07-29 16:42:25 +03:00
alexey bd54628b5c remove unused regexp 2025-07-29 16:42:02 +03:00
alexey b103736a9d add resolveMethodPath to resolve giving methods 2025-07-29 16:41:45 +03:00
alexey 7eeedf0b31 remove listAllowedCmd regexp 2025-07-29 16:41:15 +03:00
alexey 1675001f24 add panic recover to run function 2025-07-29 13:34:41 +03:00
alexey e01ecdf1db add panic catch functions 2025-07-29 13:33:58 +03:00
alexey febee7cac5 add SafeFetch function 2025-07-29 12:44:25 +03:00
alexey bf5e136dc9 change sv1's Handle method 2025-07-29 11:28:04 +03:00
alexey 86cdc9adf2 remove header and status 2025-07-29 11:27:36 +03:00
alexey f09afdb850 add response and error constructors 2025-07-29 11:26:48 +03:00
alexey efbca43f27 make both Response and Error in one structure 2025-07-29 11:26:26 +03:00
alexey a0451aa8a0 add full jsonrpc-2.0 batch support 2025-07-29 11:25:48 +03:00
alexey 7608bcfed3 remove w and r fields from GatewayServer and change Handle method 2025-07-29 11:25:26 +03:00
alexey c62710a7d0 remove some garbage 2025-07-29 09:43:27 +03:00
alexey 0151c3f68a add test response using rpc.WriteResponse 2025-07-29 09:39:07 +03:00
alexey 1f36f2d7bc Move http write functions to writers.go 2025-07-29 09:33:03 +03:00
alexey 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
alexey 19b699d92b Make a make to ignore vendor files 2025-07-28 20:16:31 +03:00
alexey d5d73c1703 Add Taskfile.yml to .gitignore 2025-07-28 20:16:20 +03:00