mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5193] [MERGED] refactor: restructure API packages into client/http and server/http with typed proxy/visitor models #5159
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#5159
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/5193
Author: @fatedier
Created: 3/4/2026
Status: ✅ Merged
Merged: 3/4/2026
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (1)
7b5b6bdrefactor: restructure API packages into client/http and server/http with typed proxy/visitor models📊 Changes
32 files changed (+1704 additions, -727 deletions)
View changed files
📝
client/api_router.go(+3 -3)📝
client/config_manager.go(+90 -33)📝
client/config_manager_test.go(+7 -4)📝
client/configmgmt/types.go(+4 -4)📝
client/http/controller.go(+90 -85)📝
client/http/controller_test.go(+218 -77)➕
client/http/model/proxy_definition.go(+148 -0)📝
client/http/model/types.go(+3 -17)➕
client/http/model/visitor_definition.go(+107 -0)📝
pkg/config/load.go(+39 -30)📝
pkg/config/load_test.go(+25 -0)📝
pkg/config/source/store.go(+30 -22)📝
pkg/config/source/store_test.go(+3 -26)📝
pkg/config/v1/common.go(+0 -25)➕
pkg/config/v1/decode.go(+195 -0)➕
pkg/config/v1/decode_test.go(+86 -0)📝
pkg/config/v1/proxy.go(+5 -25)📝
pkg/config/v1/proxy_plugin.go(+5 -34)📝
pkg/config/v1/visitor.go(+5 -25)📝
pkg/config/v1/visitor_plugin.go(+6 -34)...and 12 more files
📄 Description
WHY
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.