Widebullet is JSON-RPC base API gateway server. It implements JSON-RPC batch endpoints with extended format for HTTP REST requests (see SPEC). For example, it receives one single JSON-RPC array which defines multiple HTTP requests and converts it into multiple concurrent HTTP requests. If you have multiple backend microservices and need to request them at same time for one transaction, Widebullet simplifies it.
Production ready.
Widebullet requires Go1.8 or later.
Widebullet provides a executable named wbt
to kick server. To install wbt
, use go get
,
$ go get -u github.com/mercari/widebullet/...
To run wbt
, you must provide configuration path via -c
option (See CONFIGURATION.md) about details and config/example.toml
for example usage.
$ wbt -c config/example.toml
Use -help
to see more options.
See CONFIGURATION.md about details.
See SPEC.md about details.
- Tatsuhiko Kubo @cubicdaiya
Please read the CLA below carefully before submitting your contribution.
Copyright 2016 Mercari, Inc.
Licensed under the MIT License.