How to start the dubbo-go-pixiu
cd samples/dubbo/simple
we can use start.sh to run samples quickly. for more info, execute command as below for more help
./start.sh [action] [project]
./start.sh help
we run body samples below step
prepare command will prepare dubbo-server and pixiu config file and start docker container needed
./start.sh prepare body
if prepare config file manually, notice:
./start.sh startServer body
./start.sh startPixiu body
if run pixiu manually, use command as below
go run cmd/pixiu/*.go gateway start -c /[absolute-path]/dubbo-go-pixiu/samples/dubbo/simple/body/pixiu/conf.yaml
use curl to try or use unit test
curl -X POST 'localhost:8881/api/v1/test-dubbo/user' -d '{"id":"0003","code":3,"name":"dubbogo","age":99}' --header 'Content-Type: application/json'
./start.sh startTest body
./start.sh clean body