Skip to content

docs(rpc): 添加rpc调用的文档#264

Open
qgyhd1234 wants to merge 1 commit intoEasyTier:mainfrom
qgyhd1234:add_rpc
Open

docs(rpc): 添加rpc调用的文档#264
qgyhd1234 wants to merge 1 commit intoEasyTier:mainfrom
qgyhd1234:add_rpc

Conversation

@qgyhd1234
Copy link
Copy Markdown

添加rpc调用的说明文档,包括ZCPacket协议介绍,python示例和easytier提供的方法列表

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

@qgyhd1234 is attempting to deploy a commit to the EasyTier Team on Vercel.

A member of the Team first needs to authorize it.

@qgyhd1234
Copy link
Copy Markdown
Author

@leonsama 文档和python示例已经更新了

Copy link
Copy Markdown

@leonsama leonsama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是一个很好的开始!下一步我计划将示例打包为 python 包,方便使用。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

方法非常清晰,可改进的是在文档开头列出索引

@qgyhd1234
Copy link
Copy Markdown
Author

这是一个很好的开始!下一步我计划将示例打包为 python 包,方便使用。

示例里的代码太简单了,只是作为一个例子写在文档,我可以推一个比较完整的 python 工程到我的仓库。

@leonsama
Copy link
Copy Markdown

@qgyhd1234 我觉得可以!
另外想请教一下,我看到 RPC 头中有 to_peer_id 字样,是否意味着 RPC 能操作所有活跃节点的配置?

@qgyhd1234
Copy link
Copy Markdown
Author

qgyhd1234 commented Apr 1, 2026

这是一个很好的开始!下一步我计划将示例打包为 python 包,方便使用。

已经上传了:https://github.com/qgyhd1234/easytier-rpc-py

@qgyhd1234
Copy link
Copy Markdown
Author

@qgyhd1234 我觉得可以! 另外想请教一下,我看到 RPC 头中有 to_peer_id 字样,是否意味着 RPC 能操作所有活跃节点的配置?

你能访问到你想控制设备的rpc端口,就能控制那台设备上的easytier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants