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

uber / tchannel-go / 1089
82%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 29 Feb 2016 11:30PM UTC
Jobs 2
Files 40
Run time 1min
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
1089

push

travis-ci

abhinav
SubChannel.SetHandler: override SubChannel Handlers

Added `SubChannel.SetHandler` which makes it possible to set a catch-all
Handler for all requests to a SubChannel. Using `SetHandler()` makes
`Register()` useless and will cause a panic.

As part of this change:

- Removed redundant `handlerMap` from Channel. Always use SubChannel's handler
  instead.
- Changed `handlerMap` to be a map of method name to handler
  (`map[string]Handler`) rather than map of service name to map of method name
  to handler (`map[string]map[string]Handler`). SubChannel dispatch happens in
  a different part of the system.
- Made `readableFragment.done()` idempotent.
- Ensure that the read last fragment is released when
  `InboundCallResponse.SendSystemError()` is called.

57 of 57 new or added lines in 7 files covered. (100.0%)

3009 of 3648 relevant lines covered (82.48%)

3588.46 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
inbound.go
Jobs
ID Job ID Ran Files Coverage
1 1089.1 29 Feb 2016 11:30PM UTC 0
82.18
Travis Job 1089.1
3 1089.3 29 Feb 2016 11:31PM UTC 0
82.39
Travis Job 1089.3
Source Files on build 1089
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1089
  • f4841424 on github
  • Next Build on set-handler (#1091)
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

© 2025 Coveralls, Inc