Documentation
¶
Overview ¶
Package lrpc contains clients and servers for net/rpc on AWS Lambda.
The lrpc/server package is intended to replace net/rpc for types that implement rpc.Server method sets. Main packages that call lrpc/server.Serve may be used as Lambda handlers. The https://github.com/cloudinterfaces/lago tool may be used to deploy such main packages.
The lrpc/client package contains functions to call net/rpc services deployed to Lambda functions with the lrpc/server package.
The lrpc/demo package contains a net/rpc service and client wrapper, as well as main packages that exercise both.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LambdaError ¶
LambdaError is a structured error returned by a Lambda invocation.
type MethodError ¶
MethodError is an error returned by an rpc method invocation.
type ServerError ¶
ServerError is an error scoped to the server package.
Directories
¶
| Path | Synopsis |
|---|---|
|
client
command
|
|
|
server
command
|
|
|
Package inspect allows inspection of Lambda function invocations.
|
Package inspect allows inspection of Lambda function invocations. |
|
internal
|
|
|
Package server allows rpc/server implementations to be deployed to AWS Lambda.
|
Package server allows rpc/server implementations to be deployed to AWS Lambda. |