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

yarpc / yarpc-go / 3994 / 4
81%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 28 Jan 2017 12:00AM UTC
Files 140
Run time 7s
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

27 Jan 2017 11:48PM UTC coverage: 80.267% (+0.01%) from 80.254%
TYPE=test

push

travis-ci

web-flow
Allow ServiceName configuration for Outbounds

Summary: Currently, if you want to have multiple outbounds with the same
service name, or if you want to change the service name for an outbound
without changing the 'key' you use to grab the ClientConfig, you had to
jump through some hoops to do so.

This diff adds the ability to set a "ServiceName" on the
transport.Outbounds struct (should be called transport.OutboundSpec - see #706).
If you specify the "ServiceName" it will override the lookup key you
use when grabbing the ClientConfig.
```
outbounds['populous-test'] := transport.Outbounds{
      ServiceName: "populous",
      Unary: tchannel.NewOutbound(),
}

...
// Returns a ClientConfig with service 'populous'
dispatcher.ClientConfig('populous-test')
```

6256 of 7794 relevant lines covered (80.27%)

0.86 hits per line

Source Files on job 3994.4 (TYPE=test)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3994
  • Travis Job 3994.4
  • f9a03b37 on github
  • Prev Job for TYPE=test on dev (#3987.4)
  • Next Job for TYPE=test on dev (#4004.4)
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