You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Website content zh cn overview reference pixiu other user samples springcloud springcloud springcloud
cd samples/springcloud/docker
run docker-compose.yml/services
启动 SpringCloud [Java 环境]:
cd samples/springcloud/server
# the port is 8074
run auth-service
# the port is 8071
run user-service
启动 Pixiu:
go run cmd/pixiu/*.go gateway start -c samples/springcloud/pixiu/conf.yaml
通过 Pixiu 调用 SpringCloud 服务:
# the serviceId is `user-provider`
curl http://localhost:8888/user-service/echo/Pixiu
# the serviceId is `auth-provider`
curl http://localhost:8888/auth-service/echo/Pixiu