tree: 0310c5bb721d710d210145179cc0a406a1b9fee0 [path history] [tgz]
  1. pixiu/
  2. server/
  3. readme.md
xds/filesystem-control-panel/readme.md

xds

xds implement demo how to use xds server.

to run sample:

  1. start xds server
./server/app> go run .
  1. run pixiu
dubbo-go-pixiu > pixiu gateway start -c ./samples/xds/local-control-panel/pixiu/conf.yaml -g test/configs/log.yml
  1. check result
curl -v  'localhost:8888/get'

## will get result below 
{
  "args": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.64.1",
    "X-Amzn-Trace-Id": "Root=1-61ba16a5-3ea1961217b2ffa7124ea2c2"
  },
  "origin": "223.104.41.209",
  "url": "http://httpbin.org/get"
}
  1. change pixiu config file & check result