mozilla-services/go-bouncer

Name: go-bouncer

Owner: Mozilla Services

Description: A Go version of the redirector portion of bouncer.

Created: 2015-07-21 19:33:27.0

Updated: 2018-05-14 19:42:57.0

Pushed: 2018-05-14 19:43:00.0

Homepage: null

Size: 443

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

go-bouncer Build Status 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/


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.