Example #1
0
func ServeRPC() {
	rpcwrap.ServeRPC("json", oldjson.NewServerCodec)
}
Example #2
0
// ServeRPC with Protobuf codec.
func ServeRPC() {
	rpcwrap.ServeRPC(codecName, NewServerCodec)
}