BcryptRpcServer

The rpc server api of https://github.com/cyal1/BcryptMontoya


Install
pip install BcryptRpcServer==0.0.4

Documentation

BcryptRpcServer

import BcryptRpcServer 

def test(a,b,c,d,e):
    print(a,type(a),b,type(b),c,type(c),d,type(d),e,type(e))
    return b'asdf'


@BcryptRpcServer.expose
def test2():
    return 'xxx'
    
BcryptRpcServer.expose(test)
BcryptRpcServer.run("127.0.0.1:30051")