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
go test ./...
command and confirm that it passesgofmt -s