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

TykTechnologies / tyk / 2538

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2017 03:33PM UTC
Jobs 1
Files 84
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

pending completion
2538

push

travis-ci

buger
apidef: make HandlerMeta a map[string]interface

All example and documentation show it as such, i.e.:

	"handler_meta": { ... }

In fact, Tyk would crash if this wasn't the case, as many of the Init
functions type assert it like "handlerConf.(map[string]interface{})".

Instead, make it part of the input type, so that the JSON and BSON
decoders will error instead with a better error message.

While at it, remove the bson.M case - the bson godoc shows:

	type M map[string]interface{}

So it was really just a convenience alias for a map. Since we're
decoding into a map[string]interface{} instead of an interface{}, we
don't need to worry about bson selecting bson.M instead of the regular
map type.

5741 of 13577 relevant lines covered (42.28%)

0.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2538.1 (LATEST_GO=true) 06 Jul 2017 03:33PM UTC 0
42.28
Travis Job 2538.1
Source Files on build 2538
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2538
  • 5a9f7d11 on github
  • Prev Build on master (#2534)
  • Next Build on master (#2543)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc