mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5127] [MERGED] refactor: separate API handlers into dedicated packages with improved HTTP utilities #5139
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5127
Author: @fatedier
Created: 1/14/2026
Status: ✅ Merged
Merged: 1/14/2026
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (1)
97dcb1erefactor: separate API handlers into dedicated packages with improved HTTP utilities📊 Changes
15 files changed (+984 additions, -790 deletions)
View changed files
📝
README.md(+0 -1)📝
client/admin_api.go(+28 -217)➕
client/api/controller.go(+189 -0)➕
client/api/types.go(+29 -0)📝
pkg/sdk/client/client.go(+5 -5)➕
pkg/util/http/context.go(+57 -0)➕
pkg/util/http/error.go(+33 -0)➕
pkg/util/http/handler.go(+66 -0)➕
pkg/util/http/middleware.go(+40 -0)➕
server/api/controller.go(+346 -0)➕
server/api/types.go(+131 -0)📝
server/control.go(+2 -1)➖
server/dashboard_api.go(+0 -563)📝
server/registry/registry.go(+15 -1)📝
server/service.go(+43 -2)📄 Description
WHY
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.