Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

wormhole

RPC base on zmq.

Installation

requires: libzmq,pyzmq
依赖模块libzmq,pyzmq $ pip install pyzmq

项目安装: $ python setup install

Getting Started

SERVER

from wormhole.server import Server
server = Server(10001)
server.test = lambda x:x*5
server.run()

CLIENT

from wormhole.client import Client
client = Client("127.0.0.1", 10001)
test_result,err = client.test("hello!")
if not err:
    print test_result
else:
    print err

更多例子见example.

About

RPC base on zmq.

Resources

License

Releases

No releases published

Packages

No packages published

Languages