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

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

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

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
}
```

5752 of 6716 relevant lines covered (85.65%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3531.3 (TYPE=test) 23 Dec 2016 07:25PM UTC 0
85.65
Travis Job 3531.3
4 3531.4 (TYPE=test) 23 Dec 2016 07:26PM UTC 0
85.65
Travis Job 3531.4
Source Files on build 3531
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3531
  • b9b86592 on github
  • Next Build on rm-meta-server (#3539)
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