go/src/net/rpc/jsonrpc/all_test.go

type Args

type Reply

type Arith

type ArithAddResp

func (t *Arith) Add(args *Args, reply *Reply) error {}

func (t *Arith) Mul(args *Args, reply *Reply) error {}

func (t *Arith) Div(args *Args, reply *Reply) error {}

func (t *Arith) Error(args *Args, reply *Reply) error {}

type BuiltinTypes

func (BuiltinTypes) Map(i int, reply *map[int]int) error {}

func (BuiltinTypes) Slice(i int, reply *[]int) error {}

func (BuiltinTypes) Array(i int, reply *[1]int) error {}

func init() {}

func TestServerNoParams(t *testing.T) {}

func TestServerEmptyMessage(t *testing.T) {}

func TestServer(t *testing.T) {}

func TestClient(t *testing.T) {}

func TestBuiltinTypes(t *testing.T) {}

func TestMalformedInput(t *testing.T) {}

func TestMalformedOutput(t *testing.T) {}

func TestServerErrorHasNullResult(t *testing.T) {}

func TestUnexpectedError(t *testing.T) {}

// Copied from package net.
func myPipe() (*pipe, *pipe) {}

type pipe

type pipeAddr

func (pipeAddr) Network() string {}

func (pipeAddr) String() string {}

func (p *pipe) Close() error {}

func (p *pipe) LocalAddr() net.Addr {}

func (p *pipe) RemoteAddr() net.Addr {}

func (p *pipe) SetTimeout(nsec int64) error {}

func (p *pipe) SetReadTimeout(nsec int64) error {}

func (p *pipe) SetWriteTimeout(nsec int64) error {}