refactor(modules): replace github.com/yusing/go-proxy with github.com/yusing/godoxy

This commit is contained in:
yusing
2025-09-22 16:44:59 +08:00
parent 6b3bf84148
commit f9affba9fc
295 changed files with 835 additions and 806 deletions

View File

@@ -4,7 +4,7 @@ import (
"log"
"net/http"
socketproxy "github.com/yusing/go-proxy/socketproxy/pkg"
socketproxy "github.com/yusing/godoxy/socketproxy/pkg"
)
func main() {

View File

@@ -1,12 +1,12 @@
module github.com/yusing/go-proxy/socketproxy
module github.com/yusing/godoxy/socketproxy
go 1.25.1
replace github.com/yusing/go-proxy/internal/utils => ../internal/utils
replace github.com/yusing/godoxy/internal/utils => ../internal/utils
require (
github.com/gorilla/mux v1.8.1
github.com/yusing/go-proxy/internal/utils v0.0.0-20250913143824-493c0afdface
github.com/yusing/godoxy/internal/utils v0.0.0-20250913143824-493c0afdface
golang.org/x/net v0.44.0
)

View File

@@ -8,7 +8,7 @@ import (
"time"
"github.com/gorilla/mux"
"github.com/yusing/go-proxy/socketproxy/pkg/reverseproxy"
"github.com/yusing/godoxy/socketproxy/pkg/reverseproxy"
)
var dialer = &net.Dialer{KeepAlive: 1 * time.Second}

View File

@@ -6,7 +6,7 @@ import (
"os"
"testing"
. "github.com/yusing/go-proxy/socketproxy/pkg"
. "github.com/yusing/godoxy/socketproxy/pkg"
)
func mockDockerSocketHandler(_ string) http.HandlerFunc {

View File

@@ -19,7 +19,7 @@ import (
"strings"
"sync"
"github.com/yusing/go-proxy/internal/utils"
"github.com/yusing/godoxy/internal/utils"
"golang.org/x/net/http/httpguts"
)