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

yarpc / yarpc-go / 1386 / 1

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2016 10:55PM UTC
Files 77
Run time 5s
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

14 Jul 2016 10:48PM UTC coverage: 92.792% (-0.3%) from 93.061%
1386.1

push

travis-ci

web-flow
transport: Add Options for transport-based customization (#255)

Transport options are intended to provide an extension point for outbounds and
inbounds so that they can customize the behavior of another part of the system
in a very decoupled fashion. Only the transport that wants to specialize
behavior, and the component that acts differently based on that option, need
to know about the specialization. All other parts of the system can simply
return zero-value Options.

The use case that inspired this: We want to disable Thrift enveloping only for
TChannel. With this change, TChannel will be able to set a property on Options
that informs the Thrift encoding that these requests should not be enveloped.

Options are currently provided from the following sources:

-   Outbounds have an `Options()` method which specifies options that apply to
    all requests sent through that outbound. This makes stateful outbounds
    difficult (see #260).
-   Inbounds pass in options that apply to a specific request down to the
    Handler handling that request.

See #256 for an example of how this will be used.

3540 of 3815 relevant lines covered (92.79%)

0.98 hits per line

Source Files on job 1386.1
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1386
  • Travis Job 1386.1
  • 5cd267d9 on github
  • Prev Job for on master (#1379.1)
  • Next Job for on master (#1393.2)
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