github.com/mozilla-services/go-bouncer
go get github.com/mozilla-services/go-bouncer

github.com/mozilla-services/go-bouncer

A Go version of the redirector portion of bouncer.

by mozilla-services

v1.14.0 (see all)License:MPL-2.0
go get github.com/mozilla-services/go-bouncer
Readme

go-bouncer CircleCI GoDoc

A Go port of the user facing portion as part of the Bouncer project.

Environment Variables

BOUNCER_PINNED_BASEURL_HTTP

If this is a unset, bouncer will randomly pick a healthy mirror from the database and return its base url. If this option is set, the mirror table is completely ignored and BOUNCER_PINNED_BASEURL_HTTP will be returned instead.

This option acts on non ssl only products.

Example: BOUNCER_PINNED_BASEURL=download-sha1.cdn.mozilla.net/pub

BOUNCER_PINNED_BASEURL_HTTPS

This option is exactly the same as BOUNCER_PINNED_BASEURL_HTTP but acts on ssl only products.

BOUNCER_STUB_ROOT_URL

If set, bouncer will redirect requests with attribution_sig and attribution_code parameters to BOUNCER_STUB_ROOT_URL?product=PRODUCT&os=OS&lang=LANG&attribution_sig=ATTRIBUTION_SIG&attribution_code=ATTRIBUTION_CODE.

Example: BOUNCER_STUB_ROOT_URL=https://stubdownloader.services.mozilla.com/

GitHub Stars

12

LAST COMMIT

8mos ago

MAINTAINERS

0

CONTRIBUTORS

12

OPEN ISSUES

5

OPEN PRs

3
VersionTagPublished
v1.14.0
6mos ago
v1.13.0
9mos ago
v1.9.0
1yr ago
v1.8.0
1yr ago
No alternatives found
No tutorials found
Add a tutorial