https://github.com/rocket049/pipeconn
用标准输入输出和管道模拟 io.ReadWriteCloser,可以用于编写不依靠网络连接的 rpc server/client。
https://github.com/rocket049/pipeconn
pipe rpc stdio
Last synced: about 2 months ago
JSON representation
用标准输入输出和管道模拟 io.ReadWriteCloser,可以用于编写不依靠网络连接的 rpc server/client。
- Host: GitHub
- URL: https://github.com/rocket049/pipeconn
- Owner: rocket049
- License: apache-2.0
- Created: 2019-07-04T13:52:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T13:52:53.000Z (over 6 years ago)
- Last Synced: 2024-06-20T10:09:27.261Z (over 1 year ago)
- Topics: pipe, rpc, stdio
- Language: Go
- Homepage: https://gitee.com/rocket049/pipeconn
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pipeconn 用标准输入输出和管道模拟 io.ReadWriteCloser
用标准输入输出和管道模拟 io.ReadWriteCloser,可以用于编写不依靠网络连接的 rpc server/client。
服务器方建立连接时调用`pipeconn.NewServerPipeConn()`
客户端建立连接时调用`NewClientPipeConn(progPath , args...)`
**`rpc` 目录中的是一个示例程序。**