https://github.com/renevo/rpc
Modified version of the net/rpc Go package with context, middleware, and headers.
https://github.com/renevo/rpc
go rpc tracing
Last synced: 2 months ago
JSON representation
Modified version of the net/rpc Go package with context, middleware, and headers.
- Host: GitHub
- URL: https://github.com/renevo/rpc
- Owner: renevo
- License: bsd-3-clause
- Created: 2021-08-17T04:19:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-27T22:27:30.000Z (over 4 years ago)
- Last Synced: 2023-08-01T12:16:02.041Z (over 2 years ago)
- Topics: go, rpc, tracing
- Language: Go
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPC Package
[](https://pkg.go.dev/github.com/renevo/rpc)
[](https://goreportcard.com/report/github.com/renevo/rpc)

Based off of (*copied from*) the `net/rpc` package with the following changes:
```bash
go get -u github.com/renevo/rpc
```
* Server and Client `context.Context` implementations.
* Header support
* Client Header Injection
* Server Header Inspection and Injection
* Server Middleware
* Requests now have a unique ID rather than a Sequence number
The following features have been removed:
* DialHTTP
* ServeHTTP
* HandleHTTP
The HTTP functionality could be added to this relatively easily through server.ServeRequest
## Stability
This API is mostly stable, however it will not be given a 1.x release until it is.