Shim Layer for MirrorZ written in Go
basic: https://github.com/mirrorz-org/mirrorz#data-format-v16
302 extension: https://github.com/mirrorz-org/mirrorz-302#mirrorzdjson
Our mirrorz.json integrates extension format into basic
Set Envs:
MIRRORZ_SHIM_URL
origin status json url, default to https://mirrors.zju.edu.cn/api/mirrorsMIRRORZ_SHIM_CACHE_TTL
cache TTL in minutes, default to 5
/app/configs/mirrorz-cname.json
Notes:
- This json has been modified, remember to merge them when mirrorz has an updated one.
- MirrorZ
cname.json
: https://github.com/mirrorz-org/mirrorz/blob/master/static/json/cname.json