发布

  • Refactor API handlers and proxy logic

    frostbyte_neo 发布于 2025-07-10 09:45:28 +00:00

    • Centralized getClient logic into a dedicated function to reduce redundancy.
    • Moved proxy initialization to a new utility function SetProxy in internal/util/proxy.go.
    • Replaced Internal handler with CLIHandler in server.go for improved clarity and consistency.
    • Removed unused functions and redundant HTTP client setup across the codebase for better maintainability.
    下载附件