diff --git a/config/new.go b/config/new.go index 9cfdd67..86b3506 100755 --- a/config/new.go +++ b/config/new.go @@ -2,8 +2,8 @@ package config import ( "fmt" - "gogs.inhome.blapointe.com/local/args" - "gogs.inhome.blapointe.com/local/logb" + "gitea.inhome.blapointe.com/local/args" + "gitea.inhome.blapointe.com/local/logb" "log" "os" "strings" diff --git a/go.mod b/go.mod index 5bba004..4a58970 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ -module gogs.inhome.blapointe.com/local/rproxy3 +module gitea.inhome.blapointe.com/local/rproxy3 go 1.18 require ( + gitea.inhome.blapointe.com/local/args v0.0.0-20240109214601-658deda479a4 + gitea.inhome.blapointe.com/local/logb v0.0.0-20231109150430-1221d87a6dbc + gitea.inhome.blapointe.com/local/oauth2 v0.0.0-20240109220403-8897142866f1 github.com/google/uuid v1.3.0 - gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34 - gogs.inhome.blapointe.com/local/logb v0.0.0-20230410154319-880efa39d871 - gogs.inhome.blapointe.com/local/oauth2 v0.0.0-20230410162733-d39498ff8454 golang.org/x/time v0.1.0 ) diff --git a/go.sum b/go.sum index 08a5d57..619a384 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,13 @@ bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= cloud.google.com/go v0.33.1/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +gitea.inhome.blapointe.com/local/args v0.0.0-20240109214601-658deda479a4 h1:4qBHjKAiEwRV1A1tN1JK6PsLV1+UwESXKrjGqfCCdNk= +gitea.inhome.blapointe.com/local/args v0.0.0-20240109214601-658deda479a4/go.mod h1:SqCOE3bE3wvrztVIQGHuyxHKfDjRKU9EWhBdkmkiwyc= +gitea.inhome.blapointe.com/local/logb v0.0.0-20231109150430-1221d87a6dbc h1:u3akQkq12V8xWXlcDgjZxIK6hqo6f1eHd9KOxAKMoKc= +gitea.inhome.blapointe.com/local/logb v0.0.0-20231109150430-1221d87a6dbc/go.mod h1:KwilawX4UgD4HxSJAVFEzkuckrnHeQrd49KwUX6GpYU= +gitea.inhome.blapointe.com/local/oauth2 v0.0.0-20240109220403-8897142866f1 h1:GO2/M+5a5i4FqiOnG6hq73nITDv2Rf8oTF973RsYQgo= +gitea.inhome.blapointe.com/local/oauth2 v0.0.0-20240109220403-8897142866f1/go.mod h1:XvS1/YJqCL+HoLo76dSLTjRYR+4Hfg4srhEVhMK3L8E= +gitea.inhome.blapointe.com/local/router v0.0.0-20231109150317-e6b81bf7c23c/go.mod h1:xYz/cn236KTBSWNQ9bqCyBmy8aQ7VL95pDDJmeupmN4= +gitea.inhome.blapointe.com/local/storage v0.0.0-20231109151605-736d446d407d/go.mod h1:TRK5z/XTT6jws++Q21Y8DQot+5vZGTNeHf+RjuY8aQk= github.com/Azure/azure-pipeline-go v0.1.8/go.mod h1:XA1kFWRVhSK+KNFiOhfv83Fv8L9achrP7OxIzeTn1Yg= github.com/Azure/azure-storage-blob-go v0.0.0-20181023070848-cf01652132cc/go.mod h1:oGfmITT1V6x//CswqY2gtAHND+xIP64/qL7a5QJix0Y= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= @@ -139,14 +147,6 @@ github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6 github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yunify/qingstor-sdk-go v2.2.15+incompatible/go.mod h1:w6wqLDQ5bBTzxGJ55581UrSwLrsTAsdo9N6yX/8d9RY= go.mongodb.org/mongo-driver v1.7.2/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8= -gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34 h1:0tuX5dfOksiOQD1vbJjVNVTVxTTIng7UrUdSLF5T+Ao= -gogs.inhome.blapointe.com/local/args v0.0.0-20230410154220-44370f257b34/go.mod h1:YG9n3Clg7683ohkVnJK2hdX8bBS9EojIsd1qPZumX0Y= -gogs.inhome.blapointe.com/local/logb v0.0.0-20230410154319-880efa39d871 h1:cMGPiwvK/QGg4TfW8VasO6SsS/O7UQmwyKDErV/ozoA= -gogs.inhome.blapointe.com/local/logb v0.0.0-20230410154319-880efa39d871/go.mod h1:E0pLNvMLzY0Kth1W078y+06z1AUyVMWnChMpRFf4w2Q= -gogs.inhome.blapointe.com/local/oauth2 v0.0.0-20230410162733-d39498ff8454 h1:U8gUhe9E97/uG3ne6D1VONCCVC6jjBbF1gDMKn3GCeo= -gogs.inhome.blapointe.com/local/oauth2 v0.0.0-20230410162733-d39498ff8454/go.mod h1:YDG4DAUbmKcQUDWdZAJyoUtX+N2zQIFQ0fz88lAPuiU= -gogs.inhome.blapointe.com/local/router v0.0.0-20230410162418-08ccdc13df87/go.mod h1:FCXhK6+lzJcxBsptnei6vw9pChuQvr4NtuosngjVJDk= -gogs.inhome.blapointe.com/local/storage v0.0.0-20230410162102-db39d7b02e29/go.mod h1:zk8Fe2Ezc2f6oOe2yllsbEhXqssUU1K2faoS0eQ9alY= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/main.go b/main.go index 2b2404d..e0e9b9a 100755 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "gogs.inhome.blapointe.com/local/rproxy3/config" - "gogs.inhome.blapointe.com/local/rproxy3/server" + "gitea.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/server" ) func main() { diff --git a/server/new.go b/server/new.go index 0e7103a..334e055 100755 --- a/server/new.go +++ b/server/new.go @@ -1,8 +1,8 @@ package server import ( - "gogs.inhome.blapointe.com/local/rproxy3/config" - "gogs.inhome.blapointe.com/local/rproxy3/storage" + "gitea.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/storage" "golang.org/x/time/rate" ) diff --git a/server/proxy.go b/server/proxy.go index b62ba16..d5de8ad 100755 --- a/server/proxy.go +++ b/server/proxy.go @@ -4,8 +4,8 @@ import ( "bytes" "crypto/tls" "io" - "gogs.inhome.blapointe.com/local/rproxy3/config" - "gogs.inhome.blapointe.com/local/rproxy3/storage/packable" + "gitea.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/storage/packable" "log" "net/http" "net/http/httputil" diff --git a/server/routes.go b/server/routes.go index 956b808..7d30def 100755 --- a/server/routes.go +++ b/server/routes.go @@ -1,7 +1,7 @@ package server import ( - "gogs.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/config" ) func (s *Server) Routes() error { diff --git a/server/server.go b/server/server.go index a00cbe6..dd9e2c1 100755 --- a/server/server.go +++ b/server/server.go @@ -17,11 +17,11 @@ import ( "strings" "time" - "gogs.inhome.blapointe.com/local/logb" - "gogs.inhome.blapointe.com/local/oauth2/oauth2client" - "gogs.inhome.blapointe.com/local/rproxy3/config" - "gogs.inhome.blapointe.com/local/rproxy3/storage" - "gogs.inhome.blapointe.com/local/rproxy3/storage/packable" + "gitea.inhome.blapointe.com/local/logb" + "gitea.inhome.blapointe.com/local/oauth2/oauth2client" + "gitea.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/storage" + "gitea.inhome.blapointe.com/local/rproxy3/storage/packable" "github.com/google/uuid" "golang.org/x/time/rate" diff --git a/server/server_test.go b/server/server_test.go index da09272..2346919 100755 --- a/server/server_test.go +++ b/server/server_test.go @@ -3,13 +3,14 @@ package server import ( "context" "fmt" - "gogs.inhome.blapointe.com/local/rproxy3/config" - "gogs.inhome.blapointe.com/local/rproxy3/storage" "net/http" "net/http/httptest" "strings" "testing" + "gitea.inhome.blapointe.com/local/rproxy3/config" + "gitea.inhome.blapointe.com/local/rproxy3/storage" + "golang.org/x/time/rate" ) diff --git a/storage/db.go b/storage/db.go index 2eb7492..20c0140 100755 --- a/storage/db.go +++ b/storage/db.go @@ -2,7 +2,7 @@ package storage import ( "errors" - "gogs.inhome.blapointe.com/local/rproxy3/storage/packable" + "gitea.inhome.blapointe.com/local/rproxy3/storage/packable" ) var ErrNotFound = errors.New("not found") diff --git a/storage/db_test.go b/storage/db_test.go index 409fc27..76adfdb 100755 --- a/storage/db_test.go +++ b/storage/db_test.go @@ -1,7 +1,7 @@ package storage import ( - "gogs.inhome.blapointe.com/local/rproxy3/storage/packable" + "gitea.inhome.blapointe.com/local/rproxy3/storage/packable" "os" "testing" ) diff --git a/storage/map.go b/storage/map.go index e253032..bf78cc5 100755 --- a/storage/map.go +++ b/storage/map.go @@ -2,7 +2,7 @@ package storage import ( "fmt" - "gogs.inhome.blapointe.com/local/rproxy3/storage/packable" + "gitea.inhome.blapointe.com/local/rproxy3/storage/packable" ) type Map map[string]map[string][]byte