Categorygithub.com/levenlabs/gatewayrpc
modulepackage
0.0.0-20180619125102-3a625a327036
Repository: https://github.com/levenlabs/gatewayrpc.git
Documentation: pkg.go.dev

# README

gatewayrpc

GoDoc

A package which wraps a gorilla/rpc/v2 server, adding an endpoint (RPC.GetServices) which automatically returns a data representation of all methods and their signatures.

This package also contains a sub-package gateway, which can be used to create a simple rpc server which forwards requests to other rpc servers.

# Packages

Package gateway implements the actual gateway which will listen for requests and forward them to servers wrapped by gatewayrpc.
No description provided by the author

# Functions

NewServer returns a new Server struct initialized with a gorilla/rpc/v2 server.

# Structs

GetServicesRes describes the structure returned from the GetServices api call.
Server is a simple wrapper around the normal gorilla/rpc/v2 server, adding a couple extra features.