From 8f711a382341e3b3f9d103af6d2229bce24667d0 Mon Sep 17 00:00:00 2001 From: NanamiAdmin Date: Fri, 27 Feb 2026 21:04:08 +0800 Subject: [PATCH] feat(handlers): add duplicate login check and improve request handling refactor: move postLog package to root directory and enhance logging fix(frpc): improve request parsing and type handling for instance creation chore: update config paths and enable debug mode --- configs/superfrpc_test_test123.toml | 5 ++ database.db | Bin 24576 -> 24576 bytes frpc.go | 92 +++++++++++++++++++++++++--- handlers.go | 8 ++- main.go | 30 ++++----- {modules => postLog}/postLog.go | 0 6 files changed, 110 insertions(+), 25 deletions(-) create mode 100644 configs/superfrpc_test_test123.toml rename {modules => postLog}/postLog.go (100%) diff --git a/configs/superfrpc_test_test123.toml b/configs/superfrpc_test_test123.toml new file mode 100644 index 0000000..5a5eeaa --- /dev/null +++ b/configs/superfrpc_test_test123.toml @@ -0,0 +1,5 @@ +[common] +server_addr = 127.0.0.1 +server_port = 7000 +auth_method = token + = diff --git a/database.db b/database.db index 1e1667df4ce6b9a7c672dce1b493594d8c8e312f..1c8410e963c13a775b03e3e55e0b77c9f959956d 100644 GIT binary patch delta 328 zcmZoTz}Rqrae_1>+e8^>RyGE`-d`J27U**@@!x0Q|HOZPv!KFdeqBK(W_8B2qJm`4 zyyB9?yyVnkCLTs+dCt<})FPk!^vpb71_lNuek%t41^iZ<1qJl@>rblpd>##HLoZ?za%+7FD)~@IHtI?Ahif&Njyk7m;mb0 zE6LBzF)}bR(={;CH8Kw|GO#kWv@$f-Hn6ZVFo$bPigJQD0POW!{r~^~ delta 80 zcmZoTz}Rqrae_1>%S0JxRu%@mvW|@@3-s9-`9Cr6f7&dl@SI