b95566aa98273dc4125468efb723de95c71a6e29
V-575. dispatch held 13 arms of one shape: nil check, unmarshal, call, marshal, and a hand-written unknown-method error repeated eight times. callDirect, callDirectNoParams, callDirectVoid and unknownMethod give the switch one line per method naming the Server field behind it. The nil-field-means-unconfigured contract is unchanged. withParamsSlice holds the nil-slice normalisation the method table repeated 14 times. MethodTurnDecisions and MethodMorningStatus keep their own, because one normalises on error and the other must still emit null. mapRows replaces the same three lines in 11 store methods. RevertFact sent a map[string]string against a server marshalling map[string]int64, so both sides now share revertReq and revertResp. Wire bytes are identical throughout. The 45 client shims stay. They mirror CoreAPI one to one on purpose. 156 insertions, 362 deletions. go test -race passes.
Description
No description provided
Languages
Go
97.1%
HTML
0.9%
Shell
0.6%
CSS
0.5%
Makefile
0.3%
Other
0.6%