# README
net-rpc-msgpackrpc
This library provides the same functions as net/rpc/jsonrpc
but for
communicating with MessagePack instead. The library
is modeled directly after the Go standard library so it should be easy to
use and obvious.
See the GoDoc for API documentation.
# Functions
CallWithCodec is used to perform the same actions as rpc.Client.Call but in a much cheaper way.
Dial connects to a MessagePack-RPC server at the specified network address.
NewClient returns a new rpc.Client to handle requests to the set of services at the other end of the connection.
NewClientCodec returns a new rpc.ClientCodec using MessagePack-RPC on conn.
NewCodec returns a MsgpackCodec that can be used as either a Client or Server rpc Codec using a default handle.
NewCodecFromHandle returns a MsgpackCodec that can be used as either a Client or Server rpc Codec using the passed handle.
NewServerCodec returns a new rpc.ServerCodec using MessagePack-RPC on conn.
ServeConn runs the MessagePack-RPC server on a single connection.
# Structs
MsgpackCodec implements the rpc.ClientCodec and rpc.ServerCodec using the msgpack encoding.