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

go-kit / kit / 1982
51%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2018 11:55PM UTC
Jobs 2
Files 84
Run time 2min
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

pending completion
1982

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%)

56200.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1982.1 (COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp) 19 Feb 2018 11:55PM UTC 0
77.6
Travis Job 1982.1
2 1982.2 (COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp) 19 Feb 2018 11:57PM UTC 0
77.82
Travis Job 1982.2
Source Files on build 1982
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1982
  • 3bfaad9e on github
  • Prev Build on master (#1973)
  • Next Build on master (#1987)
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