zhongyuanjia
zhongyuanjia
已支持,见 https://github.com/agiledragon/gomonkey/blob/master/test/apply_interface_reused_test.go
Using updating placeholders can solve this problem. I submitted an PR, you can see if it is feasible.
试下加上auth_namespace ```sh micro --registry=etcd --auth_namespace=mu.micro.book.web --api_namespace=mu.micro.book.web api --handler=web ```
已解决,使用以下脚本去pm2 start即可 ```yaml apps: - name: micro-gateway script: ./config.toml # 随意写个文件路径 interpreter: micro interpreter_args: api instances: 1 exec_mode: fork env: MICRO_API_HANLDER: rpc MICRO_REGISTRY: etcd ```
还有一种方式是 ```sh pm2 start "micro api" --name micro-gateway ```