This commit is contained in:
Yuzuki616
2023-07-29 19:27:15 +08:00
parent 78ee16a505
commit ddafdf79b8
56 changed files with 129 additions and 119 deletions

View File

@@ -1,7 +1,7 @@
package iprecoder
import (
"github.com/Yuzuki616/V2bX/limiter"
"github.com/InazumaV/V2bX/limiter"
)
type IpRecorder interface {

View File

@@ -2,11 +2,12 @@ package iprecoder
import (
"errors"
"github.com/Yuzuki616/V2bX/conf"
"github.com/Yuzuki616/V2bX/limiter"
"time"
"github.com/InazumaV/V2bX/conf"
"github.com/InazumaV/V2bX/limiter"
"github.com/go-resty/resty/v2"
"github.com/goccy/go-json"
"time"
)
type Recorder struct {

View File

@@ -3,11 +3,12 @@ package iprecoder
import (
"context"
"fmt"
"github.com/Yuzuki616/V2bX/conf"
"github.com/Yuzuki616/V2bX/limiter"
"github.com/go-redis/redis/v8"
"strconv"
"time"
"github.com/InazumaV/V2bX/conf"
"github.com/InazumaV/V2bX/limiter"
"github.com/go-redis/redis/v8"
)
type Redis struct {

View File

@@ -1,10 +1,11 @@
package iprecoder
import (
"github.com/Yuzuki616/V2bX/conf"
"github.com/Yuzuki616/V2bX/limiter"
"log"
"testing"
"github.com/InazumaV/V2bX/conf"
"github.com/InazumaV/V2bX/limiter"
)
func TestRedis_SyncOnlineIp(t *testing.T) {

View File

@@ -10,7 +10,7 @@ import (
"strings"
"time"
"github.com/Yuzuki616/V2bX/common/crypt"
"github.com/InazumaV/V2bX/common/crypt"
"github.com/goccy/go-json"
log "github.com/sirupsen/logrus"
coreConf "github.com/xtls/xray-core/infra/conf"

View File

@@ -4,7 +4,7 @@ import (
"log"
"testing"
"github.com/Yuzuki616/V2bX/conf"
"github.com/InazumaV/V2bX/conf"
)
var client *Client

View File

@@ -10,7 +10,7 @@ import (
"strings"
"time"
"github.com/Yuzuki616/V2bX/conf"
"github.com/InazumaV/V2bX/conf"
"github.com/go-resty/resty/v2"
)