gorealis v2 refactor (#5)
* Changing default timeout for start maintenance. * Upgrading dependencies to gorealis v2 and thrift 0.12.0 * Refactored to update to gorealis v2.
This commit is contained in:
parent
ad4dd9606e
commit
6ab5c9334d
1335 changed files with 137431 additions and 61530 deletions
3
vendor/git.apache.org/thrift.git/tutorial/py/PythonServer.py
generated
vendored
3
vendor/git.apache.org/thrift.git/tutorial/py/PythonServer.py
generated
vendored
|
@ -82,10 +82,11 @@ class CalculatorHandler:
|
|||
def zip(self):
|
||||
print('zip()')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
handler = CalculatorHandler()
|
||||
processor = Calculator.Processor(handler)
|
||||
transport = TSocket.TServerSocket(port=9090)
|
||||
transport = TSocket.TServerSocket(host='127.0.0.1', port=9090)
|
||||
tfactory = TTransport.TBufferedTransportFactory()
|
||||
pfactory = TBinaryProtocol.TBinaryProtocolFactory()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue