用户服务
微服务(python)
目录结构
1 2 3 4 5 6 7 8
| mxshop_srvs └── user_srv ├── __init__.py ├── handler ├── logs ├── model ├── proto └── settings
|
安装
1 2 3 4
| pip3 install peewee pip3 install pymysql http://docs.peewee-orm.com/en/latest/peewee/models.html
|
protobuf
在python中的使用
1 2 3 4 5
| pip3 install grpcio pip3 install grpcio-tools
|