Skip to content

sysulq/goproxy

 
 

Repository files navigation

GOPROXY CircleCI

A global proxy for go modules. see: https://goproxy.io

Build

go generate
go build

Started

./goproxy -listen=0.0.0.0:80 -cacheDir=/data

Use docker image

docker run -d -p80:8081 goproxy/goproxy

Use the -v flag to persisting the proxy module data (change cacheDir to your own dir):

docker run -d -p80:8081 -v cacheDir:/go goproxy/goproxy

Docker Compose

docker-compose up

Appendix

  1. set export GOPROXY=http://localhost to enable your goproxy.
  2. set export GOPROXY= to disable it.

About

A global proxy for Go modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.0%
  • Shell 9.4%
  • HTML 4.3%
  • Dockerfile 1.7%
  • Makefile 1.6%