Go to file
kun ebcb9429d3 fix CI 2018-12-25 19:44:32 +08:00
.circleci refactor: pure go 2018-12-25 17:36:32 +08:00
bin refactor: pure go 2018-12-25 17:36:32 +08:00
build refactor: pure go 2018-12-25 17:36:32 +08:00
pkg/proxy fix latest fetch 2018-12-25 18:38:43 +08:00
scripts add github repo link 2018-09-05 11:35:06 +08:00
.gitignore refactor: pure go 2018-12-25 17:36:32 +08:00
Dockerfile refactor: pure go 2018-12-25 17:36:32 +08:00
LICENSE Initial commit 2018-08-31 16:27:07 +08:00
README.md refactor: pure go 2018-12-25 17:36:32 +08:00
circle-test.sh fix CI 2018-12-25 19:44:32 +08:00
docker-compose.yaml refactor: pure go 2018-12-25 17:36:32 +08:00
go.mod init 2018-09-01 15:31:53 +08:00
main.go refactor: pure go 2018-12-25 17:36:32 +08:00

README.md

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 -root=/ext

Docker

docker run --name goproxy -d -p80:8081 goproxyio/goproxy

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

docker run --name goproxy -d -p80:8081 -v go_repo:/ext goproxyio/goproxy

Docker Compose

docker-compose up

Appendix

  1. set $GOPROXY to chain your proxy or disable the proxy