Skip to content
/ mox Public

🎭 A very simple mock server as web api.

License

Notifications You must be signed in to change notification settings

linyows/mox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mox

Mox is a very simple mock server as web api.

Travis codecov GitHub release Go Documentation MIT License

Description

It is a mock server simply returns response files.

Usage

$ mox --root /var/www/mox --protocol json-rpc --delay 1 --log-level debug

use config file:

$ mox --config /etc/mox/mox.conf

Dockefile:

https://github.com/linyows/mox/blob/master/misc/Dockerfile

Install

To install, use go get:

$ go get -d github.com/linyows/mox

Contribution

  1. Fork (https://github.com/linyows/mox/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

linyows