Skip to content

Widebullet is an API gateway with JSON-RPC

License

Notifications You must be signed in to change notification settings

kuntao/widebullet

 
 

Repository files navigation

Widebullet

Travis Go Report Card

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.

Status

Production ready.

Requirement

Widebullet requires Go1.8 or later.

Installation

Widebullet provides a executable named wbt to kick server. To install wbt, use go get,

$ go get -u github.com/mercari/widebullet/...

Usage

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.

Configuration

See CONFIGURATION.md about details.

Specification

See SPEC.md about details.

Committers

Contribution

Please read the CLA below carefully before submitting your contribution.

https://www.mercari.com/cla/

License

Copyright 2016 Mercari, Inc.

Licensed under the MIT License.

About

Widebullet is an API gateway with JSON-RPC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.0%
  • Makefile 1.0%