Skip to content
/ rpc Public

Modified version of the net/rpc Go package with context, middleware, and headers.

License

Notifications You must be signed in to change notification settings

renevo/rpc

Repository files navigation

RPC Package

Go Reference Go Report Card Build Status

Based off of (copied from) the net/rpc package with the following changes:

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.

About

Modified version of the net/rpc Go package with context, middleware, and headers.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages