Skip to content

Commit d5431cd

Browse files
committed
chore: rewrite module path and docker image for public repo
1 parent c0038a5 commit d5431cd

70 files changed

Lines changed: 146 additions & 146 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a href="https://goreportcard.com/report/github.com/mephistofox/fxtun.dev"><img src="https://goreportcard.com/badge/github.com/mephistofox/fxtun.dev?style=flat-square" alt="Go Report Card"></a>
1414
<a href="https://github.com/mephistofox/fxtun.dev/releases"><img src="https://img.shields.io/github/downloads/mephistofox/fxtun.dev/total?style=flat-square&logo=github" alt="Downloads"></a>
1515
<img src="https://img.shields.io/badge/go-1.24+-00ADD8?style=flat-square&logo=go" alt="Go Version">
16-
<a href="https://ghcr.io/mephistofox/fxtunnel"><img src="https://img.shields.io/badge/docker-ghcr.io-blue?style=flat-square&logo=docker" alt="Docker"></a>
16+
<a href="https://ghcr.io/mephistofox/fxtun.dev"><img src="https://img.shields.io/badge/docker-ghcr.io-blue?style=flat-square&logo=docker" alt="Docker"></a>
1717
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT%20with%20Attribution-yellow?style=flat-square" alt="License"></a>
1818
<a href="https://github.com/mephistofox/fxtun.dev/stargazers"><img src="https://img.shields.io/github/stars/mephistofox/fxtun.dev?style=flat-square&logo=github" alt="Stars"></a>
1919
</p>
@@ -123,7 +123,7 @@ docker run -d \
123123
-p 10000-20000:10000-20000 \
124124
-v ./data:/app/data \
125125
-v ./configs/server.yaml:/app/configs/server.yaml \
126-
ghcr.io/mephistofox/fxtunnel:latest
126+
ghcr.io/mephistofox/fxtun.dev:latest
127127
```
128128

129129
Or build from source:

README_RU.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a href="https://goreportcard.com/report/github.com/mephistofox/fxtun.dev"><img src="https://goreportcard.com/badge/github.com/mephistofox/fxtun.dev?style=flat-square" alt="Go Report Card"></a>
1414
<a href="https://github.com/mephistofox/fxtun.dev/releases"><img src="https://img.shields.io/github/downloads/mephistofox/fxtun.dev/total?style=flat-square&logo=github" alt="Загрузки"></a>
1515
<img src="https://img.shields.io/badge/go-1.24+-00ADD8?style=flat-square&logo=go" alt="Go Version">
16-
<a href="https://ghcr.io/mephistofox/fxtunnel"><img src="https://img.shields.io/badge/docker-ghcr.io-blue?style=flat-square&logo=docker" alt="Docker"></a>
16+
<a href="https://ghcr.io/mephistofox/fxtun.dev"><img src="https://img.shields.io/badge/docker-ghcr.io-blue?style=flat-square&logo=docker" alt="Docker"></a>
1717
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT%20with%20Attribution-yellow?style=flat-square" alt="Лицензия"></a>
1818
<a href="https://github.com/mephistofox/fxtun.dev/stargazers"><img src="https://img.shields.io/github/stars/mephistofox/fxtun.dev?style=flat-square&logo=github" alt="Stars"></a>
1919
</p>
@@ -123,7 +123,7 @@ docker run -d \
123123
-p 10000-20000:10000-20000 \
124124
-v ./data:/app/data \
125125
-v ./configs/server.yaml:/app/configs/server.yaml \
126-
ghcr.io/mephistofox/fxtunnel:latest
126+
ghcr.io/mephistofox/fxtun.dev:latest
127127
```
128128

129129
Или сборка из исходников:

cmd/client/credentials.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66
"path/filepath"
77

8-
"github.com/mephistofox/fxtunnel/internal/config"
9-
"github.com/mephistofox/fxtunnel/internal/keyring"
8+
"github.com/mephistofox/fxtun.dev/internal/config"
9+
"github.com/mephistofox/fxtun.dev/internal/keyring"
1010
)
1111

1212
// checkAuth checks if user has valid credentials from keyring or ~/.fxtunnel/client.yaml.

cmd/client/daemon.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212

1313
"github.com/spf13/cobra"
1414

15-
"github.com/mephistofox/fxtunnel/internal/client"
16-
"github.com/mephistofox/fxtunnel/internal/config"
17-
"github.com/mephistofox/fxtunnel/internal/daemon"
15+
"github.com/mephistofox/fxtun.dev/internal/client"
16+
"github.com/mephistofox/fxtun.dev/internal/config"
17+
"github.com/mephistofox/fxtun.dev/internal/daemon"
1818
)
1919

2020
var daemonForeground bool

cmd/client/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/spf13/cobra"
1111
"gopkg.in/yaml.v3"
1212

13-
"github.com/mephistofox/fxtunnel/internal/config"
13+
"github.com/mephistofox/fxtun.dev/internal/config"
1414
)
1515

1616
const projectConfigFile = "fxtunnel.yaml"

cmd/client/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
"github.com/rs/zerolog"
1717
"github.com/spf13/cobra"
1818

19-
"github.com/mephistofox/fxtunnel/internal/client"
20-
"github.com/mephistofox/fxtunnel/internal/config"
21-
"github.com/mephistofox/fxtunnel/internal/keyring"
19+
"github.com/mephistofox/fxtun.dev/internal/client"
20+
"github.com/mephistofox/fxtun.dev/internal/config"
21+
"github.com/mephistofox/fxtun.dev/internal/keyring"
2222
)
2323

2424
const defaultControlPort = "4443"
@@ -146,7 +146,7 @@ Use -t to provide token directly, or enter it interactively.`,
146146
Short: "Print version information",
147147
Run: func(cmd *cobra.Command, args []string) {
148148
fmt.Printf("fxTunnel Client %s (built %s)\n", Version, BuildTime)
149-
fmt.Println("GitHub: https://github.com/mephistofox/fxtunnel")
149+
fmt.Println("GitHub: https://github.com/mephistofox/fxtun.dev")
150150
fmt.Println("Website: https://mfdev.ru")
151151
},
152152
}

cmd/server/main.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import (
1212
"github.com/rs/zerolog"
1313
"github.com/spf13/cobra"
1414

15-
"github.com/mephistofox/fxtunnel/internal/api"
16-
"github.com/mephistofox/fxtunnel/internal/auth"
17-
"github.com/mephistofox/fxtunnel/internal/config"
18-
"github.com/mephistofox/fxtunnel/internal/database"
19-
"github.com/mephistofox/fxtunnel/internal/email"
20-
"github.com/mephistofox/fxtunnel/internal/exchange"
21-
"github.com/mephistofox/fxtunnel/internal/scheduler"
22-
"github.com/mephistofox/fxtunnel/internal/server"
23-
fxtls "github.com/mephistofox/fxtunnel/internal/tls"
15+
"github.com/mephistofox/fxtun.dev/internal/api"
16+
"github.com/mephistofox/fxtun.dev/internal/auth"
17+
"github.com/mephistofox/fxtun.dev/internal/config"
18+
"github.com/mephistofox/fxtun.dev/internal/database"
19+
"github.com/mephistofox/fxtun.dev/internal/email"
20+
"github.com/mephistofox/fxtun.dev/internal/exchange"
21+
"github.com/mephistofox/fxtun.dev/internal/scheduler"
22+
"github.com/mephistofox/fxtun.dev/internal/server"
23+
fxtls "github.com/mephistofox/fxtun.dev/internal/tls"
2424
)
2525

2626
var (
@@ -42,7 +42,7 @@ func main() {
4242
It allows clients to expose local services through HTTP subdomains,
4343
TCP ports, or UDP ports.
4444
45-
GitHub: https://github.com/mephistofox/fxtunnel
45+
GitHub: https://github.com/mephistofox/fxtun.dev
4646
Website: https://mfdev.ru`,
4747
RunE: run,
4848
}
@@ -56,7 +56,7 @@ Website: https://mfdev.ru`,
5656
Short: "Print version information",
5757
Run: func(cmd *cobra.Command, args []string) {
5858
fmt.Printf("fxTunnel Server %s (built %s)\n", Version, BuildTime)
59-
fmt.Println("GitHub: https://github.com/mephistofox/fxtunnel")
59+
fmt.Println("GitHub: https://github.com/mephistofox/fxtun.dev")
6060
fmt.Println("Website: https://mfdev.ru")
6161
},
6262
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/mephistofox/fxtunnel
1+
module github.com/mephistofox/fxtun.dev
22

33
go 1.24.0
44

internal/api/api.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ import (
1313
"github.com/go-chi/cors"
1414
"github.com/rs/zerolog"
1515

16-
"github.com/mephistofox/fxtunnel/internal/api/dto"
17-
"github.com/mephistofox/fxtunnel/internal/auth"
18-
"github.com/mephistofox/fxtunnel/internal/config"
19-
"github.com/mephistofox/fxtunnel/internal/database"
20-
"github.com/mephistofox/fxtunnel/internal/email"
21-
"github.com/mephistofox/fxtunnel/internal/inspect"
22-
fxtls "github.com/mephistofox/fxtunnel/internal/tls"
23-
"github.com/mephistofox/fxtunnel/internal/web"
16+
"github.com/mephistofox/fxtun.dev/internal/api/dto"
17+
"github.com/mephistofox/fxtun.dev/internal/auth"
18+
"github.com/mephistofox/fxtun.dev/internal/config"
19+
"github.com/mephistofox/fxtun.dev/internal/database"
20+
"github.com/mephistofox/fxtun.dev/internal/email"
21+
"github.com/mephistofox/fxtun.dev/internal/inspect"
22+
fxtls "github.com/mephistofox/fxtun.dev/internal/tls"
23+
"github.com/mephistofox/fxtun.dev/internal/web"
2424
)
2525

2626
// TunnelInfo represents tunnel information from the server

internal/api/dto/responses.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package dto
33
import (
44
"time"
55

6-
"github.com/mephistofox/fxtunnel/internal/database"
7-
"github.com/mephistofox/fxtunnel/internal/exchange"
6+
"github.com/mephistofox/fxtun.dev/internal/database"
7+
"github.com/mephistofox/fxtun.dev/internal/exchange"
88
)
99

1010
// ErrorResponse represents an error response

0 commit comments

Comments
 (0)