Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16475)

Issue 13778046: rpc/rpcreflect: Add Value type.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
mp+186910, fwereade, gz
Visibility:
Public.

Description

rpc/rpcreflect: Add Value type. This puts all the reflection calling logic into rpcreflect, where it can be tested better and potentially be used by other packages (for instance to test the API client without an intervening marshaller) https://code.launchpad.net/~rogpeppe/juju-core/412-rpc-caller/+merge/186910 Requires: https://code.launchpad.net/~rogpeppe/juju-core/411-rpc-introspection/+merge/186909 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : rpc/rpcreflect: Add Value type. #

Patch Set 3 : rpc/rpcreflect: Add Value type. #

Patch Set 4 : rpc/rpcreflect: Add Value type. #

Total comments: 3

Patch Set 5 : rpc/rpcreflect: Add Value type. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -138 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A rpc/reflect_test.go View 1 2 1 chunk +134 lines, -0 lines 0 comments Download
M rpc/rpc_test.go View 1 2 18 chunks +19 lines, -95 lines 0 comments Download
M rpc/rpcreflect/type.go View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
A rpc/rpcreflect/value.go View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M rpc/server.go View 1 2 8 chunks +27 lines, -43 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
10 years, 7 months ago (2013-09-23 10:10:44 UTC) #1
gz
LGTM, the breakout does make the code a bit simpler I think. Would like William ...
10 years, 7 months ago (2013-09-23 17:53:36 UTC) #2
rog
Please take a look. https://codereview.appspot.com/13778046/diff/9001/rpc/rpcreflect/type.go File rpc/rpcreflect/type.go (right): https://codereview.appspot.com/13778046/diff/9001/rpc/rpcreflect/type.go#newcode86 rpc/rpcreflect/type.go:86: return nil On 2013/09/23 17:53:36, ...
10 years, 7 months ago (2013-09-24 07:12:54 UTC) #3
fwereade
10 years, 7 months ago (2013-09-24 12:58:31 UTC) #4
LGTM, sorry, power cut out just as I'd finished earlier
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b