API: Add ListInbounds and ListOutbounds#4723
Conversation
|
Got it to work, added both methods, wrote a test and added the corresponding CLI commands. Expaneded two interfaces marked as |
|
Opened a PR to the documentation. Similar changes needed in Chinese version and https://github.com/XTLS/Xray-API-documents. |
|
Could you set protoc and protoc-gen-go to the same version as in the core? |
|
@Fangliding Done |
|
看起来不会损坏现有功能,先合了,感谢 PR |
Hi @gsergey418! As i see from your example CLI response Maybe there should be an option to just get list of inbounds without users? |
(cherry picked from commit af7a76d)
Fixes #2745. Add the ListInbounds and ListOutbounds methods to the gRPC HandlerService and write the respective CLI commands lsi and lso.