[GH-ISSUE #1040] [需求]能否提供服务端api控制客户端上的应用的状态的接口 #827

Closed
opened 2026-05-05 12:31:34 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @gilbertchenzhe on GitHub (Jan 14, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1040

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
v0.22.0

What operating system and processor architecture are you using (go env)?
Win10 x64

Configures you used:

Steps to reproduce the issue:
1.能否提供 服务端api控制客户端上的应用的状态的接口

Describe the results you received:

Describe the results you expected:
frps.exe 中,在dashboard_api中提供client status 管理

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)
在./server/dashboard_api.go中增加接口

Originally created by @gilbertchenzhe on GitHub (Jan 14, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1040 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** v0.22.0 **What operating system and processor architecture are you using (`go env`)?** Win10 x64 **Configures you used:** 无 **Steps to reproduce the issue:** 1.能否提供 服务端api控制客户端上的应用的状态的接口 **Describe the results you received:** 无 **Describe the results you expected:** frps.exe 中,在dashboard_api中提供client status 管理 **Additional information you deem important (e.g. issue happens only occasionally):** 无 **Can you point out what caused this issue (optional)** 在./server/dashboard_api.go中增加接口
Author
Owner

@fatedier commented on GitHub (Jan 16, 2019):

client 的 status 只在 client 端有,服务端是没有这个数据的,所以也不能提供接口。
如果你有需求,可以将 client 端的 admin port 通过服务端暴露出去访问。

<!-- gh-comment-id:454770010 --> @fatedier commented on GitHub (Jan 16, 2019): client 的 status 只在 client 端有,服务端是没有这个数据的,所以也不能提供接口。 如果你有需求,可以将 client 端的 admin port 通过服务端暴露出去访问。
Author
Owner

@gilbertchenzhe commented on GitHub (Jan 16, 2019):

@fatedier 客户端的admin_api 我也看了,没有对client进行状态管理的接口- -

<!-- gh-comment-id:454772233 --> @gilbertchenzhe commented on GitHub (Jan 16, 2019): @fatedier 客户端的admin_api 我也看了,没有对client进行状态管理的接口- -
Author
Owner

@fatedier commented on GitHub (Jan 16, 2019):

目前只能查询,不能操作。

<!-- gh-comment-id:454782091 --> @fatedier commented on GitHub (Jan 16, 2019): 目前只能查询,不能操作。
Author
Owner

@gilbertchenzhe commented on GitHub (Jan 17, 2019):

@fatedier 行吧

<!-- gh-comment-id:455135645 --> @gilbertchenzhe commented on GitHub (Jan 17, 2019): @fatedier 行吧
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#827
No description provided.