Home | History | Annotate | Download | only in rpc

Lines Matching defs:String

24 	serverAddr, newServerAddr string
25 httpServerAddr string
63 func (t *Arith) String(args *Args, reply *string) error {
68 func (t *Arith) Scan(args string, reply *Reply) (err error) {
88 func listenTCP() (net.Listener, string) {
93 return l, l.Addr().String()
128 httpServerAddr = server.Listener.Addr().String()
140 func testRPC(t *testing.T, addr string) {
152 t.Errorf("Add: expected no error but got string %q", err.Error())
163 t.Errorf("Add: expected no error but got string %q", err.Error())
199 t.Errorf("Add: expected no error but got string %q", addCall.Error.Error())
207 t.Errorf("Mul: expected no error but got string %q", mulCall.Error.Error())
239 t.Errorf("Scan: expected no error but got string %q", err.Error())
247 err = client.Call("Arith.String", args, &str)
249 t.Errorf("String: expected no error but got string %q", err.Error())
253 t.Errorf("String: expected %s got %s", expect, str)
260 t.Errorf("Mul: expected no error but got string %q", err.Error())
271 t.Errorf("Add: expected no error but got string %q", err.Error())
278 func testNewServerRPC(t *testing.T, addr string) {
290 t.Errorf("Add: expected no error but got string %q", err.Error())
304 func testHTTPRPC(t *testing.T, path string) {
322 t.Errorf("Add: expected no error but got string %q", err.Error())
333 serviceMethod string
339 func (codec *CodecEmulator) Call(serviceMethod string, args *Args, reply *Reply) error {
398 t.Errorf("Add: expected no error but got string %q", err.Error())
521 t.Errorf("Add: expected no error but got string %q", err.Error())
650 b.Fatalf("rpc error: Add: expected no error but got string %q", err.Error())