Commit Graph

  • 4a9719cdfb sqlite usage example Alexey 2025-08-04 13:36:38 +03:00
  • 7de5ec5248 add sqlite support Alexey 2025-08-04 13:36:30 +03:00
  • e5f9105364 change cors Alexey 2025-08-04 13:36:21 +03:00
  • ce2a23f9e6 make internal modules in "internal" Alexey 2025-08-02 16:22:05 +03:00
  • d56b022bf5 add com/test.lua to .gitignore Alexey 2025-08-02 16:13:22 +03:00
  • ca38c10ec4 made creation of private field before pushing Alexey 2025-08-02 16:12:44 +03:00
  • 13dbd00bb7 update config exaple Alexey 2025-08-02 16:12:08 +03:00
  • e7289dc9be update post example Alexey 2025-08-02 11:50:19 +03:00
  • 5394178abc update lua logging Alexey 2025-08-02 11:50:09 +03:00
  • 981551e944 change default log output to stderr Alexey 2025-08-02 10:14:35 +03:00
  • 27446adf3f add debug information to lua_handler and route Alexey 2025-08-02 10:04:00 +03:00
  • 2f071c25b2 update annotations Alexey 2025-08-02 01:02:59 +03:00
  • d23fd32e84 update annotations Alexey 2025-08-02 01:01:05 +03:00
  • 86d35a9ede update annotations Alexey 2025-08-02 00:55:59 +03:00
  • c77d51a95c some changes with config.log.output Alexey 2025-08-02 00:53:19 +03:00
  • 3cbea14e84 fmt Alexey 2025-08-02 00:00:43 +03:00
  • 6e59af1662 add json_format option for structure logging Alexey 2025-08-02 00:00:35 +03:00
  • 8684d178e0 update Get example Alexey 2025-08-01 23:54:44 +03:00
  • 945ab6c9cf update annotations Alexey 2025-08-01 23:53:40 +03:00
  • 520901c331 update script error handling Alexey 2025-08-01 23:53:30 +03:00
  • 9a274250cd update annotations Alexey 2025-08-01 23:25:46 +03:00
  • 6d49d83ea7 update List.lua Alexey 2025-08-01 23:25:36 +03:00
  • fb04b3bc46 change in/out to request/response Alexey 2025-08-01 23:25:24 +03:00
  • a60b75a4c0 make lua deps modular Alexey 2025-08-01 23:18:45 +03:00
  • 041fda8522 change ErrSessionIsTaken to EssSessionIsBusy Alexey 2025-08-01 20:07:15 +03:00
  • 6508f03d08 fmt Alexey 2025-08-01 13:12:57 +03:00
  • 93cf53025c rename init hooks names Alexey 2025-08-01 13:12:27 +03:00
  • 83912b6c28 add context TODO Alexey 2025-08-01 12:56:09 +03:00
  • 6ed5a7f9e0 add context to Handle method Alexey 2025-08-01 12:55:58 +03:00
  • 2f78e9367c update logger initialization Alexey 2025-08-01 12:55:35 +03:00
  • ac074ce0ff change mapstructure to output Alexey 2025-08-01 12:55:17 +03:00
  • 8bdf9197d6 set default config value to stdout Alexey 2025-08-01 12:54:58 +03:00
  • 4db8fa2360 change fallback os exit to 0 Alexey 2025-08-01 12:54:41 +03:00
  • 2a48927a08 update hooks Alexey 2025-08-01 12:54:28 +03:00
  • 58027bb988 add config processing Alexey 2025-08-01 12:54:18 +03:00
  • 30a87fdb4c update List.lua Alexey 2025-08-01 12:53:25 +03:00
  • 5cdfb2a543 config confirmation Alexey 2025-08-01 00:56:05 +03:00
  • 08e96aa32a add optional config preview with confirmation Alexey 2025-08-01 00:08:38 +03:00
  • 3b8390a0c8 basically added session manager, minimal. stores uuid and ttl sessions to eliminate recursive queries Alexey 2025-07-31 23:29:30 +03:00
  • b6ad0f82a0 add Post example Alexey 2025-07-31 21:47:09 +03:00
  • 7009828e79 swap stages colors Alexey 2025-07-31 21:32:35 +03:00
  • 45e541ac00 update Config structure and add node name parameter Alexey 2025-07-31 21:30:59 +03:00
  • a5a7354061 add a small reminder Alexey 2025-07-31 20:56:25 +03:00
  • 20bb90e77a oh again update Get example Alexey 2025-07-31 20:51:30 +03:00
  • 148ca53538 update Net.Http.Get example Alexey 2025-07-31 20:46:02 +03:00
  • 2951fd2da9 add Net.Http.Get usage example Alexey 2025-07-31 20:39:44 +03:00
  • f411637520 add Net.Http to lua Alexey 2025-07-31 20:37:31 +03:00
  • 75ee6e10aa change http server log level to LevelError Alexey 2025-07-31 19:48:06 +03:00
  • cfa7724b68 add exception for unknown logging level Alexey 2025-07-30 20:16:49 +03:00
  • f44e89b0de add new initialization hook to check configuration Alexey 2025-07-30 19:19:27 +03:00
  • 23ed707029 make fields in configuration structures pointers, fix errors in code related to this change Alexey 2025-07-30 19:19:02 +03:00
  • 299fd59e19 move %tmp% dereferencing to stage 6 of initialization, using a simpler and more efficient way of checking for contents Alexey 2025-07-30 19:17:36 +03:00
  • b601962354 add TO DO to config/consts.go Alexey 2025-07-30 18:43:07 +03:00
  • 38f784b850 remove unused server api settings Alexey 2025-07-30 18:41:50 +03:00
  • 6d2bf5cdd2 add "about" to scripts you can get a description if you send a request where in params there is a field about with any content Alexey 2025-07-30 18:32:38 +03:00
  • 166c8470d4 add -ldflags "-w -s" and binary compression Alexey 2025-07-30 15:01:01 +03:00
  • 64510a5307 remove stackTrimPaths from CatchPanic, and add -trimpath to Makefile Alexey 2025-07-30 14:51:29 +03:00
  • b454f4de8d delete useless comment Alexey 2025-07-30 14:12:49 +03:00
  • c161639766 move lua types converters from utils to sv1 Alexey 2025-07-30 14:12:10 +03:00
  • dd336a7d9a move lua types converters from utils to sv1 Alexey 2025-07-30 14:11:57 +03:00
  • ab37ecb7f7 add init hooks to nodeApp Alexey 2025-07-30 13:47:05 +03:00
  • bd02f079ab rename sv1.HandleLUA to sv1.handleLUA Alexey 2025-07-30 12:50:12 +03:00
  • b97febc16e move lua handler to new file lua_handler.go Alexey 2025-07-30 12:39:18 +03:00
  • 149cfc0a17 sort imports Alexey 2025-07-30 12:38:53 +03:00
  • 00276dc817 add hooks/ to fmt and goimports Alexey 2025-07-30 12:34:55 +03:00
  • ec2ef34f23 move initial hooks and Compositor obj to external package Alexey 2025-07-30 12:34:30 +03:00
  • aebc3d2e9b - move run hook to external package - replace own contains function to slices.Contains Alexey 2025-07-30 12:33:51 +03:00
  • 22ff90ca56 add db/ to .gitignore Alexey 2025-07-30 12:06:50 +03:00
  • f3c4b9e9b1 update config example Alexey 2025-07-30 12:02:12 +03:00
  • 98d2443679 add some small changes Alexey 2025-07-30 12:00:21 +03:00
  • c61bc841e6 um add modernc/sqlite Alexey 2025-07-29 21:30:17 +03:00
  • 74f166e6cf make use of AppX and CoreState in program modules Alexey 2025-07-29 17:54:57 +03:00
  • 81359c036c Merge pull request #1 from akyaiy/dev Aleksey 2025-07-29 16:51:18 +03:00
  • 92c89996f5 remove some garbage Alexey 2025-07-29 16:46:23 +03:00
  • 1c73d3f87a add examples of lua scripts Alexey 2025-07-29 16:44:03 +03:00
  • e35972b8ad add initial support for lua scripts Alexey 2025-07-29 16:43:42 +03:00
  • 0344d58ad4 add jsonrpc errors about methods Alexey 2025-07-29 16:43:23 +03:00
  • cf7bd1ceec add panic reciever to the Gateway router Alexey 2025-07-29 16:43:03 +03:00
  • c3540bfbe1 add CatchPanicWithFallback Alexey 2025-07-29 16:42:25 +03:00
  • bd54628b5c remove unused regexp Alexey 2025-07-29 16:42:02 +03:00
  • b103736a9d add resolveMethodPath to resolve giving methods Alexey 2025-07-29 16:41:45 +03:00
  • 7eeedf0b31 remove listAllowedCmd regexp Alexey 2025-07-29 16:41:15 +03:00
  • 1675001f24 add panic recover to run function Alexey 2025-07-29 13:34:41 +03:00
  • e01ecdf1db add panic catch functions Alexey 2025-07-29 13:33:58 +03:00
  • febee7cac5 add SafeFetch function Alexey 2025-07-29 12:44:25 +03:00
  • bf5e136dc9 change sv1's Handle method Alexey 2025-07-29 11:28:04 +03:00
  • 86cdc9adf2 remove header and status Alexey 2025-07-29 11:27:36 +03:00
  • f09afdb850 add response and error constructors Alexey 2025-07-29 11:26:48 +03:00
  • efbca43f27 make both Response and Error in one structure Alexey 2025-07-29 11:26:26 +03:00
  • a0451aa8a0 add full jsonrpc-2.0 batch support Alexey 2025-07-29 11:25:48 +03:00
  • 7608bcfed3 remove w and r fields from GatewayServer and change Handle method Alexey 2025-07-29 11:25:26 +03:00
  • c62710a7d0 remove some garbage Alexey 2025-07-29 09:43:27 +03:00
  • 0151c3f68a add test response using rpc.WriteResponse Alexey 2025-07-29 09:39:07 +03:00
  • 1f36f2d7bc Move http write functions to writers.go Alexey 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 Alexey 2025-07-28 20:16:40 +03:00
  • 19b699d92b Make a make to ignore vendor files Alexey 2025-07-28 20:16:31 +03:00
  • d5d73c1703 Add Taskfile.yml to .gitignore Alexey 2025-07-28 20:16:20 +03:00
  • 77baa1430e Initial commit: not functional alex 2025-07-25 11:31:53 +03:00
  • deef4a891b logs alex 2025-07-12 13:25:42 +03:00
  • aa45a2e3e4 Some changes with http server alex 2025-07-12 13:20:25 +03:00