[PR #3016] [MERGED] [client] Remove redundant function parameters in HandleEvent #4673

Closed
opened 2026-05-05 14:46:31 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3016
Author: @chenjiayao
Created: 7/14/2022
Status: Merged
Merged: 7/14/2022
Merged by: @fatedier

Base: devHead: dev


📝 Commits (1)

  • 634c741 [client] Remove redundant function parameters

📊 Changes

3 files changed (+4 additions, -11 deletions)

View changed files

📝 client/event/event.go (+1 -8)
📝 client/proxy/proxy_manager.go (+1 -1)
📝 client/proxy/proxy_wrapper.go (+2 -2)

📄 Description

The type parameter of the HandleEvent function seems to be useless, can we remove this parameter?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/3016 **Author:** [@chenjiayao](https://github.com/chenjiayao) **Created:** 7/14/2022 **Status:** ✅ Merged **Merged:** 7/14/2022 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`634c741`](https://github.com/fatedier/frp/commit/634c74161c835ac3b14bca564278ff77240901d9) [client] Remove redundant function parameters ### 📊 Changes **3 files changed** (+4 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `client/event/event.go` (+1 -8) 📝 `client/proxy/proxy_manager.go` (+1 -1) 📝 `client/proxy/proxy_wrapper.go` (+2 -2) </details> ### 📄 Description The type parameter of the HandleEvent function seems to be useless, can we remove this parameter? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:46:31 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4673
No description provided.