mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-05 15:26:36 +08:00
[优化] 目录调整
This commit is contained in:
@@ -14,8 +14,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
"github.com/rain-kl/openflare/openflared/internal/config"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
)
|
||||
|
||||
type Manager struct {
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
"github.com/rain-kl/openflare/openflared/internal/config"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
)
|
||||
|
||||
// Helper to write control file for the dummy script
|
||||
|
||||
@@ -6,13 +6,13 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
"github.com/rain-kl/openflare/openflare-server/utils/geoip"
|
||||
"github.com/rain-kl/openflare/openflare-server/utils/geoip/iputil"
|
||||
"github.com/rain-kl/openflare/openflared/internal/config"
|
||||
"github.com/rain-kl/openflare/openflared/internal/frpc"
|
||||
"github.com/rain-kl/openflare/openflared/internal/httpclient"
|
||||
"github.com/rain-kl/openflare/openflared/internal/updater"
|
||||
"github.com/rain-kl/openflare/pkg/geoip"
|
||||
"github.com/rain-kl/openflare/pkg/geoip/iputil"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
)
|
||||
|
||||
type APIResponse[T any] struct {
|
||||
|
||||
@@ -5,10 +5,10 @@ import (
|
||||
"log/slog"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
"github.com/rain-kl/openflare/openflared/internal/config"
|
||||
"github.com/rain-kl/openflare/openflared/internal/frpc"
|
||||
"github.com/rain-kl/openflare/openflared/internal/httpclient"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/utils"
|
||||
"github.com/rain-kl/openflare/pkg/utils"
|
||||
|
||||
"github.com/rain-kl/openflare/openflared/internal/config"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
shared "github.com/rain-kl/openflare/openflare-server/utils/wsclient"
|
||||
service "github.com/rain-kl/openflare/pkg/protocol"
|
||||
shared "github.com/rain-kl/openflare/pkg/wsclient"
|
||||
)
|
||||
|
||||
type WSMessage = shared.WSMessage
|
||||
|
||||
Reference in New Issue
Block a user