Mercurial Hosting > luan
view src/luan/modules/Reactionary.luan @ 164:78ba371ea1e9
merge Os.File into Io.File and remove Os
git-svn-id: https://luan-java.googlecode.com/svn/trunk@165 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 20 Jun 2014 23:23:16 +0000 |
parents | 138b9baee80b |
children |
line wrap: on
line source
-- Reactionary host = "localhost" port = 9101 function put_site(domain,password,dir) local pc = Io.Socket(host,port).Pickle_client() local pickle = pc.pickle pc.call %> Reactionary.do_put_site(<%=pickle(domain)%>,<%=pickle(password)%>,<%=pickle(dir)%>) <% pc.close() end function delete_site(domain,password) local pc = Io.Socket(host,port).Pickle_client() local pickle = pc.pickle pc.call %> Reactionary.do_delete_site(<%=pickle(domain)%>,<%=pickle(password)%>) <% pc.close() end