Skip to content

Commit 84dbf95

Browse files
committed
chore: rewrite module path and docker image for public repo
1 parent 18c7f21 commit 84dbf95

117 files changed

Lines changed: 221 additions & 221 deletions

File tree

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/apiclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http"
88
"strings"
99

10-
client "github.com/mephistofox/fxtunnel/internal/client/core"
10+
client "github.com/mephistofox/fxtun.dev/internal/client/core"
1111
)
1212

1313
type apiClient struct {

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/client/keyring"
8+
"github.com/mephistofox/fxtun.dev/internal/config"
9+
"github.com/mephistofox/fxtun.dev/internal/client/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-
client "github.com/mephistofox/fxtunnel/internal/client/core"
16-
"github.com/mephistofox/fxtunnel/internal/client/daemon"
17-
"github.com/mephistofox/fxtunnel/internal/config"
15+
client "github.com/mephistofox/fxtun.dev/internal/client/core"
16+
"github.com/mephistofox/fxtun.dev/internal/client/daemon"
17+
"github.com/mephistofox/fxtun.dev/internal/config"
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"github.com/spf13/cobra"
2020
"golang.org/x/crypto/bcrypt"
2121

22-
client "github.com/mephistofox/fxtunnel/internal/client/core"
23-
"github.com/mephistofox/fxtunnel/internal/client/keyring"
24-
"github.com/mephistofox/fxtunnel/internal/config"
22+
client "github.com/mephistofox/fxtun.dev/internal/client/core"
23+
"github.com/mephistofox/fxtun.dev/internal/client/keyring"
24+
"github.com/mephistofox/fxtun.dev/internal/config"
2525
)
2626

2727
const defaultControlPort = "4443"

cmd/integration-test/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515

1616
"github.com/rs/zerolog"
1717

18-
clientcore "github.com/mephistofox/fxtunnel/internal/client/core"
19-
"github.com/mephistofox/fxtunnel/internal/config"
18+
clientcore "github.com/mephistofox/fxtun.dev/internal/client/core"
19+
"github.com/mephistofox/fxtun.dev/internal/config"
2020
)
2121

2222
// CLI flags

cmd/server/main.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ import (
1313
"github.com/rs/zerolog"
1414
"github.com/spf13/cobra"
1515

16-
"github.com/mephistofox/fxtunnel/internal/server/api"
17-
"github.com/mephistofox/fxtunnel/internal/server/auth"
18-
"github.com/mephistofox/fxtunnel/internal/config"
19-
server "github.com/mephistofox/fxtunnel/internal/server/core"
20-
"github.com/mephistofox/fxtunnel/internal/server/database"
21-
fxdns "github.com/mephistofox/fxtunnel/internal/server/dns"
22-
"github.com/mephistofox/fxtunnel/internal/server/email"
23-
"github.com/mephistofox/fxtunnel/internal/server/exchange"
24-
"github.com/mephistofox/fxtunnel/internal/server/geoip"
25-
"github.com/mephistofox/fxtunnel/internal/server/hub"
26-
"github.com/mephistofox/fxtunnel/internal/server/payment"
27-
fxredis "github.com/mephistofox/fxtunnel/internal/server/redis"
28-
"github.com/mephistofox/fxtunnel/internal/server/store"
29-
"github.com/mephistofox/fxtunnel/internal/server/scheduler"
30-
"github.com/mephistofox/fxtunnel/internal/server/telegram"
31-
fxtls "github.com/mephistofox/fxtunnel/internal/server/tls"
16+
"github.com/mephistofox/fxtun.dev/internal/server/api"
17+
"github.com/mephistofox/fxtun.dev/internal/server/auth"
18+
"github.com/mephistofox/fxtun.dev/internal/config"
19+
server "github.com/mephistofox/fxtun.dev/internal/server/core"
20+
"github.com/mephistofox/fxtun.dev/internal/server/database"
21+
fxdns "github.com/mephistofox/fxtun.dev/internal/server/dns"
22+
"github.com/mephistofox/fxtun.dev/internal/server/email"
23+
"github.com/mephistofox/fxtun.dev/internal/server/exchange"
24+
"github.com/mephistofox/fxtun.dev/internal/server/geoip"
25+
"github.com/mephistofox/fxtun.dev/internal/server/hub"
26+
"github.com/mephistofox/fxtun.dev/internal/server/payment"
27+
fxredis "github.com/mephistofox/fxtun.dev/internal/server/redis"
28+
"github.com/mephistofox/fxtun.dev/internal/server/store"
29+
"github.com/mephistofox/fxtun.dev/internal/server/scheduler"
30+
"github.com/mephistofox/fxtun.dev/internal/server/telegram"
31+
fxtls "github.com/mephistofox/fxtun.dev/internal/server/tls"
3232
)
3333

3434
var (

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.25.0
44

0 commit comments

Comments
 (0)