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

yarpc / yarpc-go / 1372 / 3

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2016 06:44PM UTC
Files 76
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

14 Jul 2016 06:22PM UTC coverage: 93.061% (-0.09%) from 93.152%
1372.3

push

travis-ci

web-flow
thrift: Add opaque options for clients and registration (#263)

The client change requires a code generation change, but this will allow
users to do,

    keyvalueclient.New(
        dispatcher.Channel("keyvalue"),
        thrift.DisableEnveloping,
        thrift.ClientOptionA(x),
        thrift.ClientOptionB(y),
    )

Similarly, without any code generation changes, we'll be able to support,

    thrift.Register(
        dispatcher,
        keyvalueserver.New(foo),
        thrift.DisableEnveloping,
        thrift.ServerOptionA(x),
        thrift.ServerOptionB(y),
    )

Note that `DisableEnveloping` has the type `Option` so it can be used for both, client and registration options.

Related thriftrw change: https://github.com/thriftrw/thriftrw-go/pull/167

----

With this change, we'll be able to disable enveloping for HTTP in #256, allowing our existing crossdock tests to pass.

3527 of 3790 relevant lines covered (93.06%)

0.98 hits per line

Source Files on job 1372.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1372
  • Travis Job 1372.3
  • 04e0cdd9 on github
  • Prev Job for on master (#1369.2)
  • Next Job for on master (#1379.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

© 2025 Coveralls, Inc