Skip to content

Commit 6e82d16

Browse files
committed
chore: rewrite module path to github.com/mephistofox/fxtun.dev
1 parent 482b8d3 commit 6e82d16

68 files changed

Lines changed: 142 additions & 142 deletions

Some content is hidden

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

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

internal/api/dto/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package dto
33
import (
44
"time"
55

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

99
// SyncRequest represents a sync request from client

internal/api/handlers_admin.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"time"
88

99
"github.com/go-chi/chi/v5"
10-
"github.com/mephistofox/fxtunnel/internal/api/dto"
11-
"github.com/mephistofox/fxtunnel/internal/auth"
12-
"github.com/mephistofox/fxtunnel/internal/database"
10+
"github.com/mephistofox/fxtun.dev/internal/api/dto"
11+
"github.com/mephistofox/fxtun.dev/internal/auth"
12+
"github.com/mephistofox/fxtun.dev/internal/database"
1313
)
1414

1515
// handleGetStats returns server statistics

0 commit comments

Comments
 (0)