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
2
vendor/git.apache.org/thrift.git/tutorial/py/Makefile.am
generated
vendored
2
vendor/git.apache.org/thrift.git/tutorial/py/Makefile.am
generated
vendored
|
@ -17,8 +17,6 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
THRIFT = $(top_builddir)/compiler/cpp/thrift
|
||||
|
||||
gen-py/tutorial/Calculator.py gen-py/shared/SharedService.py: $(top_srcdir)/tutorial/tutorial.thrift
|
||||
$(THRIFT) --gen py -r $<
|
||||
|
||||
|
|
1
vendor/git.apache.org/thrift.git/tutorial/py/PythonClient.py
generated
vendored
1
vendor/git.apache.org/thrift.git/tutorial/py/PythonClient.py
generated
vendored
|
@ -81,6 +81,7 @@ def main():
|
|||
# Close!
|
||||
transport.close()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
main()
|
||||
|
|
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