1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-09-16 08:46:17 +02:00

rename to reproxy

This commit is contained in:
Umputun
2021-04-03 14:23:23 -05:00
parent 2092674d2f
commit f8cd5f53b0
7 changed files with 12 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# docker-proxy (dpx) [![build](https://github.com/umputun/docker-proxy/actions/workflows/ci.yml/badge.svg)](https://github.com/umputun/docker-proxy/actions/workflows/ci.yml)
# reproxy [![build](https://github.com/umputun/reproxy/actions/workflows/ci.yml/badge.svg)](https://github.com/umputun/reproxy/actions/workflows/ci.yml)
Simple edge HTTP(s) proxy for various providers (docker, static, file). One or more providers supply information
Simple edge reverse HTTP(s) proxy for various providers (docker, static, file). One or more providers supply information
about requested server, requested url and destination url.
Server can be FQDN, i.e. `s.example.com` or `*` (catch all). Requested url can be regex, for example `^/api/(.*)` and destination url

View File

@@ -11,7 +11,7 @@ import (
log "github.com/go-pkgz/lgr"
"github.com/pkg/errors"
"github.com/umputun/docker-proxy/app/discovery"
"github.com/umputun/reproxy/app/discovery"
)
//go:generate moq -out docker_client_mock.go -skip-ensure -fmt goimports . DockerClient

View File

@@ -10,7 +10,7 @@ import (
"github.com/pkg/errors"
"gopkg.in/yaml.v3"
"github.com/umputun/docker-proxy/app/discovery"
"github.com/umputun/reproxy/app/discovery"
)
// File implements file-based provider

View File

@@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
"github.com/umputun/docker-proxy/app/discovery"
"github.com/umputun/reproxy/app/discovery"
)
// Static provider, rules are server,from,to

View File

@@ -14,9 +14,9 @@ import (
"github.com/pkg/errors"
"github.com/umputun/go-flags"
"github.com/umputun/docker-proxy/app/discovery"
"github.com/umputun/docker-proxy/app/discovery/provider"
"github.com/umputun/docker-proxy/app/proxy"
"github.com/umputun/reproxy/app/discovery"
"github.com/umputun/reproxy/app/discovery/provider"
"github.com/umputun/reproxy/app/proxy"
)
var opts struct {

View File

@@ -13,8 +13,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/umputun/docker-proxy/app/discovery"
"github.com/umputun/docker-proxy/app/discovery/provider"
"github.com/umputun/reproxy/app/discovery"
"github.com/umputun/reproxy/app/discovery/provider"
)
func TestHttp_Do(t *testing.T) {

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/umputun/docker-proxy
module github.com/umputun/reproxy
go 1.16