Categorygithub.com/gridfoundation/rpc
modulepackage
1.3.2
Repository: https://github.com/gridfoundation/rpc.git
Documentation: pkg.go.dev

# README

rpc

Build Status


The Gorilla project has been archived, and is no longer under active maintainenance. You can read more here: https://github.com/gorilla#gorilla-toolkit


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.