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

yarpc / yarpc-go / 3539
86%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 23 Dec 2016 07:59PM UTC
Jobs 2
Files 123
Run time 2min
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
3539

push

travis-ci

abhinav
Add InboundCall to expose metadata on context

Server implementations in encodings will wrap the context using the
InboundCall API, making request options available on the context. Users will
be able to use WriteResponseHeader on the context to send response headers
back to the encoding implementation.

For example,

```
ctx, call := yarpc.NewInboundCall(ctx)
if err := call.ReadFromRequest(&req); err != nil {
    return err
}

responseBody := userHandler(ctx, deserialize(req.Body))

if err := call.WriteToResponse(responseWriter); err != nil {
    return err
}

if err := serialize(responseBody, responseWriter); err != nil {
    return err
}
```

5764 of 6728 relevant lines covered (85.67%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3539.3 (TYPE=test) 23 Dec 2016 07:59PM UTC 0
85.67
Travis Job 3539.3
4 3539.4 (TYPE=test) 23 Dec 2016 08:01PM UTC 0
85.67
Travis Job 3539.4
Source Files on build 3539
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3539
  • 834ef10d on github
  • Prev Build on rm-meta-server (#3531)
  • Next Build on rm-meta-server (#3551)
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