func newServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec {
	return &serverCodec{
		c:       newCodec(conn),
		pending: make(map[uint64]*metapb.RpcMeta),
	}
}
// newServerCodec returns a new rpc.ServerCodec.
newServerCodec returns a new rpc.ServerCodec.
// newServerCodec returns a new rpc . ServerCodec .
func newServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec {
	return &serverCodec{
		c:       newCodec(conn),
		pending: make(map[uint64]*metapb.RpcMeta),
	}
}
func newServerCodec ( conn io . ReadWriteCloser ) rpc . ServerCodec { return & serverCodec { c : newCodec ( conn ) , pending : make ( map [ uint64 ] * metapb . RpcMeta ) , } }
newServerCodec returns a new rpc.ServerCodec.
newServerCodec returns a new rpc . ServerCodec .