cakerabbit-core 0.1.3

A rust microservice framework, this is the core kernel for the project.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

import os
import time
import mprpc


pid = os.getpid()
print(f'{pid}: {time.time()}: client connecting')
client = mprpc.RPCClient('127.0.0.1', 9527)
print(f'{pid}: {time.time()}: client connected, sending request')
rsp = client.call('say_hello', "foo")
print(f'{pid}: {time.time()}: got response => {rsp}')