go-mirror-redirector

command module
v0.0.0-...-03aa889 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

Docker Repository on Quay go-mirror-redirector

Simple mirror redirector in golang.

No frills geo-ip based mirror redirector, supports a yaml file as config, in the following format:

COUNTRYCODE:
- url1
- url2
AU:
- url2
IT:
- foo

default:
- defaultfallback1
- defaultfallback2

you can pass by a config path with CONFIG environment variable. You can customize a listening address with HOST, the port with PORT, and the deployment mode (prod, dev) with MACARON_ENV.

There is also a deployment example for Kubernetes in kube.yaml.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL