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

yarpc / yarpc-go / 1386

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2016 10:54PM UTC
Jobs 4
Files 77
Run time 9min
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
1386

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

3.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1386.1 14 Jul 2016 10:55PM UTC 0
92.79
Travis Job 1386.1
2 1386.2 14 Jul 2016 10:55PM UTC 0
92.79
Travis Job 1386.2
3 1386.3 14 Jul 2016 10:54PM UTC 0
92.79
Travis Job 1386.3
4 1386.4 14 Jul 2016 11:04PM UTC 0
92.79
Travis Job 1386.4
Source Files on build 1386
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1386
  • 5cd267d9 on github
  • Prev Build on master (#1379)
  • Next Build on master (#1393)
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