GoProxy is a module proxy server for golang.

GoProxy

GoProxy is a module proxy server for golang. It provide a datastore to store your private go packages from gitlab.

Getting Started

First, you need to copy the configuration file from etc/goproxy.example.yaml and name it as etc/goproxy.yaml

$ cp etc/goproxy.example.yaml etc/goproxy.yaml

Then, you could modify it by yourself according to your environment. It maybe like below:

$ vim etc/goproxy.yaml

port: 8078                             # which port you want to use for goproxy
gitlabs:
- domain: "test.proxy.org"             # your domain name
  endpoint: http://127.0.0.1:30000     # your gitlab endpoint
  token: <Token>                       # your gitlab token which have permission to access gitlab api
storage:
  provider: local                      # what kind of backend storage you want to use. supported: local, s3(in the future)
  local:
    path: tmp/                         # what dirctory you want to store your go packages

Finally, start goproxy service.

$ goproxy -c etc/goproxy.yaml start

If you don't provide -c flag. it will read /etc/goproxy/goproxy.yaml path by default.

Installation

Binary

Prerequisites

  • Golang >=16

You just need to use make command to build go proxy binary

$ make

If you want to build binary and container image at one time. You can use make all command to build them.

$ make all

Docker

You can use make build-image commnad to build container image. It will build binary based on golang:1.17.3 image and copy it on the other container which is baes on alpine:latest And running go proxy service on it.

$ make build-image

More detail information for can click here

Owner
James Li
A Research and Development Engineer (R&D Engineer) at ASUS
James Li
Similar Resources

Proxy - Minimalistic TCP relay proxy.

Proxy Minimalistic TCP relay proxy. Installation ensure you have go = 1.17 installed clone the repo cd proxy go install main.go Examples Listen on po

May 22, 2022

Battlesnake-logging-proxy - A little proxy between the internet and your battlesnake

battlesnake-logging-proxy a little proxy between the internet and your battlesna

Feb 11, 2022

Proxywv - Simplified Widevine license proxy server written in Go (Golang)

license-proxy Simplified Widevine license proxy server written in Go (Golang). U

Feb 13, 2022

A secure image proxy server

go-camo Contents About How it works Differences from Camo Installing pre-built binaries Building Running Running on Heroku Securing an installation Co

Jan 7, 2023

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

frp README | 中文文档 What is frp? frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it s

Jan 5, 2023

Simple edge server / reverse proxy

reproxy Reproxy is simple edge HTTP(s) sever / reverse proxy supporting various providers (docker, static, file). One or more providers supply informa

Dec 29, 2022

Smocker is a simple and efficient HTTP mock server and proxy.

Smocker is a simple and efficient HTTP mock server and proxy.

Smocker (server mock) is a simple and efficient HTTP mock server. The documentation is available on smocker.dev. Table of contents Installation With D

Jan 7, 2023

A deployable proxy server and tunnel written in go

Tunnelify Tunnelify is a deployable proxy server and tunnel written in go Installing | Quickstart | Configuration Installing Direct download You can i

Dec 11, 2022
Related tags
Goproxy - HTTP/HTTPS Forward and Reverse Proxy

Go HTTP(s) Forward/Reverse Proxy This is intended to provide the proxy for the goproxy frontend. It is currently a work in progress, and is not very s

Jan 4, 2022
Tcp-proxy - A dead simple reverse proxy server.

tcp-proxy A proxy that forwords from a host to another. Building go build -ldflags="-X 'main.Version=$(git describe --tags $(git rev-list --tags --max

Jan 2, 2022
Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com).

Go Modules Remote Import Path Proxy Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com). For example Uber (buil

Nov 2, 2021
Http-logging-proxy - A HTTP Logging Proxy For Golang

http-logging-proxy HTTP Logging Proxy Description This project builds a simple r

Aug 1, 2022
“Dear Port80” is a zero-config TCP proxy server that hides SSH connection behind a HTTP server!

Dear Port80 About The Project: “Dear Port80” is a zero-config TCP proxy server that hides SSH connection behind a HTTP server! +---------------------

Jun 29, 2022
An experimental Tor-Proxy serivce written in Go using Go-proxy and Go-libtor.

tor-proxy An experimental standalone tor-proxy service built with Go, using go-proxy, go-libtor and bine. This is a simple replacement to Tor's origin

Nov 9, 2022
mt-multiserver-proxy is a reverse proxy designed for linking multiple Minetest servers together

mt-multiserver-proxy mt-multiserver-proxy is a reverse proxy designed for linking multiple Minetest servers together. It is the successor to multiserv

Nov 17, 2022
A simple tool to convert socket5 proxy protocol to http proxy protocol

Socket5 to HTTP 这是一个超简单的 Socket5 代理转换成 HTTP 代理的小工具。 如何安装? Golang 用户 # Required Go 1.17+ go install github.com/mritd/s2h@master Docker 用户 docker pull m

Jan 2, 2023
IP2Proxy Go package allows users to query an IP address to determine if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.

IP2Proxy Go Package This package allows user to query an IP address if it was being used as VPN anonymizer, open proxies, web proxies, Tor exits, data

Sep 15, 2022