Categorygithub.com/gorilla/rpc
modulepackage
1.2.1
Repository: https://github.com/gorilla/rpc.git
Documentation: pkg.go.dev

# README

gorilla/rpc

testing codecov godoc sourcegraph

Gorilla Logo

gorilla/rpc is a foundation for RPC over HTTP services, providing access to the exported methods of an object through HTTP requests.

Read the full documentation here: https://www.gorillatoolkit.org/pkg/rpc

# Packages

Package gorilla/rpc/json provides a codec for JSON-RPC over HTTP services.
Package gorilla/rpc/protorpc provides a codec for ProtoRPC over HTTP services.
Package gorilla/rpc is a foundation for RPC over HTTP services, providing access to the exported methods of an object through HTTP requests.

# Functions

NewServer returns a new RPC server.

# Structs

RequestInfo contains all the information we pass to before/after functions.
Server serves registered RPC services using registered codecs.

# Interfaces

Codec creates a CodecRequest to process each request.
CodecRequest decodes a request and encodes a response using a specific serialization scheme.