pc
pc
is a proxy config tool. This is a func-e
companion. While you can run
pc
without func-e
, it is recommended to check that fantastic tool, especially when you want
to manage multiple versions of proxies.
Install
go install github.com/dio/pc@main
To run
If you have Go 1.17.x installed on your system:
go run github.com/dio/pc@main -c internal/handler/testdata/static-only.yaml
When you have this repo downloaded:
go run main.go -c internal/handler/testdata/static-only.yaml
While the following also works:
go run main.go func-e run -c internal/handler/testdata/static-only.yaml