kony
d22505c856
Update configuration import path in main_cmd.go to reflect the new goodlink3 structure. This change ensures consistency in configuration management across the codebase.
2026-03-27 11:41:48 +08:00
kony
f01da3d14b
Refactor configuration management by replacing direct config usage with goodlink_config package across multiple files. This change enhances code organization and clarity by centralizing configuration handling, while also removing the obsolete config.go file.
2026-03-19 12:29:52 +08:00
kony
d02d9fda4b
Refactor version handling by renaming GetVersion to GetVersionFromAppConfig and updating references across main_cmd.go, main_ui.go, and other files. This change centralizes version retrieval from the application configuration, improving code clarity and maintainability.
2026-03-18 10:37:34 +08:00
kony
ad593182e6
Refactor button state management in ui2/start.go and ui2/ui.go by renaming variables for clarity and introducing a saveConfig function to handle configuration persistence. This change enhances code readability and maintains consistent state handling across the UI components.
2026-03-18 09:50:04 +08:00
kony
a6cb2010c3
Refactor logging in main_cmd.go, local.go, remote.go, and comm.go by introducing LogStatus function for consistent status output. This change improves code clarity and maintainability by centralizing status logging with TagStatusPrefix.
2026-03-18 09:33:53 +08:00
kony
7cbb248761
Enhance logging for local connection status in main_cmd.go and local.go, and introduce an 'enabled' state for button UI elements in start.go to improve user feedback during connection processes.
2026-03-17 16:50:42 +08:00
kony
a7ed357646
内存服用
2026-03-06 12:01:33 +08:00
kony
c3ace7ddbd
Add STUN server configuration options and implement server startup logic
...
- Introduced `Arg_stun_svr_ip` and `Arg_stun_svr_port` in `args.go` for STUN server configuration.
- Updated `main_cmd.go` to start the STUN server if the IP and port are provided.
- Refactored STUN server implementation in `svr.go` to support dual UDP listeners and handle incoming requests efficiently.
2026-02-02 15:08:49 +08:00
kony
2738abd920
Update build version and refactor initialization in pro package
...
- Incremented build version in FyneApp.toml from 2 to 5.
- Modified Init function in pro package to accept a tun_key parameter for better session management.
- Refactored RunLocal and RunRemote functions to remove tun_key parameter, simplifying their usage.
- Updated Redis session handling to utilize m_md5_tun_key directly for improved clarity and consistency.
2026-01-08 15:03:30 +08:00
kony
f44e746aca
Implement local configuration management and enhance initialization process
...
- Added support for local configuration deletion based on command-line argument.
- Refactored configuration initialization to handle local config more effectively.
- Improved logging for better tracking of configuration loading and cleanup processes.
2026-01-08 11:42:03 +08:00
kony
056becae87
Refactor main command initialization by moving logging setup and system tuning to main2 function. This change improves code organization and ensures that logging and performance optimizations are consistently applied before the main execution flow. Additionally, remove redundant logging in remote.go to enhance clarity in session processing.
2026-01-06 16:23:17 +08:00
kony
b45f1451dd
初始化日志文件输出并更新日志打印方式
2026-01-04 14:19:24 +08:00
kony
be13eb884a
优化日志输出
2025-12-31 18:15:00 +08:00
kony
c357f588af
启动时输出官方网址
2025-12-31 13:32:13 +08:00
kony
314648ebde
u
2025-09-22 16:37:28 +08:00
kony
3bdbba0e45
gc
2025-07-16 13:12:49 +08:00
kony
871ea0c812
optimized heartbeat detection
2025-04-03 18:24:55 +08:00
kony
e221e1de1a
首页告知关于GoodLink安全疑问事项
2025-03-31 16:38:13 +08:00
kony
c7bc4b9c4f
u
2025-03-28 17:23:38 +08:00
kony
02ee43cf61
支持Redis的Tls连接
2025-03-21 18:47:24 +08:00
kony
875fcf7899
u
2025-03-07 12:38:10 +08:00
kony
d6ff0d85d6
开放调参接口
2025-02-20 16:57:01 +08:00
kony
ac3eb3e664
退出时主动释放资源
2025-01-24 14:00:07 +08:00
kony
442a3e2e3d
print err for panic
2025-01-24 11:07:06 +08:00
kony
5f57648c8e
针对cmd版本,启动时必须有key选项,否则无法运行
2025-01-20 15:36:18 +08:00
kony
00b51881ad
优化代码
2025-01-13 14:04:59 +08:00
kony
c313d58b75
统一命令参数读取
2025-01-09 15:30:12 +08:00
kony
4facfe8aee
进程守护,异常报警
2025-01-09 12:41:11 +08:00
kony
77591b9042
启动时如果初始化失败,自动重试,无需退出重启程序
2025-01-07 13:25:27 +08:00
kony
196c69779e
增加darwin平台编译
2025-01-06 17:51:54 +08:00