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

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

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 23 Dec 2016 10:53PM UTC
Jobs 2
Files 123
Run time 58s
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
3561

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 3561.3 (TYPE=test) 23 Dec 2016 10:53PM UTC 0
85.67
Travis Job 3561.3
4 3561.4 (TYPE=test) 23 Dec 2016 10:54PM UTC 0
85.67
Travis Job 3561.4
Source Files on build 3561
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3561
  • 8fa0ab23 on github
  • Prev Build on rm-meta-server (#3553)
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