• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-kit / kit / 1982 / 2
51%
master: 51%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2018 11:57PM UTC
Files 84
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Feb 2018 11:50PM UTC coverage: 77.817% (+0.9%) from 76.954%
COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp

push

travis-ci

peterbourgon
JSON RPC over HTTP (#576)

* first pass at JSON RPC HTTP transport

* example implementation of JSON RPC over HTTP

* Add ID type for JSON RPC Request, with tests.

* Add basic server testing for JSON RPC.

Add basic server tests, following example from http transport. Switch Response.Error to pointer, to make absence clearer.

* Handle unregistered JSON RPC methods.

* Package tidy-up.

* Test ServerBefore / ServerAfter for JSON RPC.

* More JSON RPC tests.

* Remove JSON RPC from addsvc example, pending full JSON RPC example.

* Remove JSON RPC from addsvc example, pending full JSON RPC example.

* Remove context field from jsonrpc.Server.

* Add JSON content type to all JSON RPC responses.

* Add JSON content type to all JSON RPC responses.

* Remove client-side JSON RPC funcs for now.

* Document interceptingWriter

* Add JSON RPC doc.go.

* Add README for JSON RPC.

* Wire in JSON RPC addsvc.

* Add JSON RPC to Addsvc CLI.

* Set JSONRPC version in responses.

* Add JSON RPC client to addcli example.

* Wire in client middlewares for JSON RPC addsvc example.

* Fix rate limiter dependency.

* Add concat JSON RPC method.

* Improve JSON RPC server test coverage.

* Add error tests.

* Clarify ErrorCoder in comment.

* Make endpoint consistent in README.

* Gofmt handler example in README.

* Auto-increment client IDs. Allow for customisation.

* Add happy-path test for JSON RPC client.

* Provide default encoder/decoder in JSON RPC client.

* Fix comment line.

* RequestIDGenerator tidy-up.

Make auto-incrementing IDs goroutine safe.
Make RequestIDGenerator interface public.

* Fix client ID creation.

The client had been using the RequestID type in requests. Making this
serialize in a deterministic and predictable way was going to be fiddly, so
I decided to allow interface{} for IDs, client-side.

* Test client request ID more effectively.

* Cover client options in ... (continued)

4220 of 5423 relevant lines covered (77.82%)

27795.35 hits per line

Source Files on job 1982.2 (COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 1982.2
  • 3bfaad9e on github
  • Prev Job for COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp on master (#1973.2)
  • Next Job for COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp on master (#1987.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc