Mox is a very simple mock server as web api.
It is a mock server simply returns response files.
$ mox --root /var/www/mox --protocol json-rpc --delay 1 --log-level debug
use config file:
$ mox --config /etc/mox/mox.conf
https://github.com/linyows/mox/blob/master/misc/Dockerfile
To install, use go get
:
$ go get -d github.com/linyows/mox
- Fork (https://github.com/linyows/mox/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request