kuntao / widebullet

Widebullet is an API gateway with JSON-RPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Go 99.0%Language:Makefile 1.0%