Selaa lähdekoodia

fix: change module path to github.com/dolonet/mtg-multi

go install github.com/dolonet/mtg-multi@latest was broken because go.mod
declared module path as github.com/9seconds/mtg/v2 while the repo lives
at github.com/dolonet/mtg-multi. Users ended up installing upstream
binary without multi-secret support.

Fixes https://github.com/9seconds/mtg/issues/376#issuecomment-4162877568
pull/434/head
Alexey Dolotov 1 kuukausi sitten
vanhempi
commit
b230a2e768
100 muutettua tiedostoa jossa 156 lisäystä ja 156 poistoa
  1. 1
    1
      .codecov.yml
  2. 1
    1
      antireplay/noop.go
  3. 1
    1
      antireplay/noop_test.go
  4. 1
    1
      antireplay/stable_bloom_filter.go
  5. 1
    1
      antireplay/stable_bloom_filter_test.go
  6. 1
    1
      events/event_stream.go
  7. 2
    2
      events/event_stream_test.go
  8. 1
    1
      events/init.go
  9. 1
    1
      events/init_test.go
  10. 1
    1
      events/multi_observer.go
  11. 1
    1
      events/noop.go
  12. 2
    2
      events/noop_test.go
  13. 1
    1
      go.mod
  14. 3
    3
      internal/cli/access.go
  15. 5
    5
      internal/cli/doctor.go
  16. 1
    1
      internal/cli/generate_secret.go
  17. 1
    1
      internal/cli/run.go
  18. 11
    11
      internal/cli/run_proxy.go
  19. 1
    1
      internal/cli/simple_run.go
  20. 2
    2
      internal/cli/utils.go
  21. 1
    1
      internal/config/config.go
  22. 1
    1
      internal/config/config_test.go
  23. 1
    1
      internal/config/type_blocklist_uri_test.go
  24. 1
    1
      internal/config/type_bool_test.go
  25. 1
    1
      internal/config/type_bytes_test.go
  26. 1
    1
      internal/config/type_concurrency_test.go
  27. 1
    1
      internal/config/type_dc_test.go
  28. 1
    1
      internal/config/type_dns_uri_test.go
  29. 1
    1
      internal/config/type_duration_test.go
  30. 1
    1
      internal/config/type_error_rate_test.go
  31. 1
    1
      internal/config/type_hostport_test.go
  32. 1
    1
      internal/config/type_http_path_test.go
  33. 1
    1
      internal/config/type_https_url_test.go
  34. 1
    1
      internal/config/type_ip_test.go
  35. 1
    1
      internal/config/type_metric_prefix_test.go
  36. 1
    1
      internal/config/type_port_test.go
  37. 1
    1
      internal/config/type_prefer_ip_test.go
  38. 1
    1
      internal/config/type_proxy_url_test.go
  39. 1
    1
      internal/config/type_statsd_tag_format_test.go
  40. 1
    1
      internal/testlib/mtglib_network_mock.go
  41. 1
    1
      internal/utils/make_qr_code_url_test.go
  42. 1
    1
      internal/utils/net_listener.go
  43. 1
    1
      internal/utils/read_config.go
  44. 1
    1
      internal/utils/read_config_test.go
  45. 1
    1
      ipblocklist/files/http_test.go
  46. 1
    1
      ipblocklist/files/local_test.go
  47. 1
    1
      ipblocklist/files/mem_test.go
  48. 2
    2
      ipblocklist/firehol.go
  49. 4
    4
      ipblocklist/firehol_test.go
  50. 1
    1
      ipblocklist/noop.go
  51. 1
    1
      ipblocklist/noop_test.go
  52. 1
    1
      logger/noop.go
  53. 2
    2
      logger/noop_test.go
  54. 1
    1
      logger/zerolog.go
  55. 2
    2
      logger/zerolog_test.go
  56. 1
    1
      main.go
  57. 1
    1
      mtglib/conns.go
  58. 1
    1
      mtglib/conns_internal_test.go
  59. 1
    1
      mtglib/counting_conn.go
  60. 1
    1
      mtglib/events_test.go
  61. 1
    1
      mtglib/init.go
  62. 1
    1
      mtglib/internal/dc/addr.go
  63. 1
    1
      mtglib/internal/dc/init.go
  64. 2
    2
      mtglib/internal/doppel/conn.go
  65. 2
    2
      mtglib/internal/doppel/conn_test.go
  66. 1
    1
      mtglib/internal/doppel/ganger.go
  67. 1
    1
      mtglib/internal/doppel/ganger_test.go
  68. 2
    2
      mtglib/internal/doppel/init.go
  69. 1
    1
      mtglib/internal/doppel/init_test.go
  70. 2
    2
      mtglib/internal/doppel/scout.go
  71. 2
    2
      mtglib/internal/doppel/scout_conn.go
  72. 1
    1
      mtglib/internal/doppel/scout_conn_collected_test.go
  73. 1
    1
      mtglib/internal/obfuscation/conn.go
  74. 2
    2
      mtglib/internal/obfuscation/conn_test.go
  75. 1
    1
      mtglib/internal/obfuscation/obfuscator.go
  76. 3
    3
      mtglib/internal/obfuscation/obfuscator_fuzz_test.go
  77. 3
    3
      mtglib/internal/obfuscation/obfuscator_test.go
  78. 1
    1
      mtglib/internal/relay/pool_settings_constrained.go
  79. 1
    1
      mtglib/internal/relay/pool_settings_other.go
  80. 1
    1
      mtglib/internal/relay/relay.go
  81. 2
    2
      mtglib/internal/relay/relay_bench_test.go
  82. 2
    2
      mtglib/internal/relay/relay_test.go
  83. 1
    1
      mtglib/internal/relay/stack_bench_test.go
  84. 1
    1
      mtglib/internal/relay/stress_bench_test.go
  85. 1
    1
      mtglib/internal/tls/conn.go
  86. 1
    1
      mtglib/internal/tls/conn_test.go
  87. 1
    1
      mtglib/internal/tls/fake/client_side.go
  88. 3
    3
      mtglib/internal/tls/fake/client_side_fuzz_test.go
  89. 2
    2
      mtglib/internal/tls/fake/client_side_snapshot_test.go
  90. 4
    4
      mtglib/internal/tls/fake/client_side_test.go
  91. 1
    1
      mtglib/internal/tls/fake/server_side.go
  92. 3
    3
      mtglib/internal/tls/fake/server_side_test.go
  93. 7
    7
      mtglib/proxy.go
  94. 7
    7
      mtglib/proxy_test.go
  95. 1
    1
      mtglib/secret_test.go
  96. 1
    1
      mtglib/stream_context.go
  97. 1
    1
      mtglib/stream_context_internal_test.go
  98. 1
    1
      network/circuit_breaker.go
  99. 1
    1
      network/circuit_breaker_internal_test.go
  100. 0
    0
      network/default.go

+ 1
- 1
.codecov.yml Näytä tiedosto

@@ -1,4 +1,4 @@
1 1
 ---
2 2
 
3 3
 fixes:
4
-  - "github.com/9seconds/mtg/v2/::"
4
+  - "github.com/dolonet/mtg-multi/::"

+ 1
- 1
antireplay/noop.go Näytä tiedosto

@@ -1,6 +1,6 @@
1 1
 package antireplay
2 2
 
3
-import "github.com/9seconds/mtg/v2/mtglib"
3
+import "github.com/dolonet/mtg-multi/mtglib"
4 4
 
5 5
 type noop struct{}
6 6
 

+ 1
- 1
antireplay/noop_test.go Näytä tiedosto

@@ -3,7 +3,7 @@ package antireplay_test
3 3
 import (
4 4
 	"testing"
5 5
 
6
-	"github.com/9seconds/mtg/v2/antireplay"
6
+	"github.com/dolonet/mtg-multi/antireplay"
7 7
 	"github.com/stretchr/testify/suite"
8 8
 )
9 9
 

+ 1
- 1
antireplay/stable_bloom_filter.go Näytä tiedosto

@@ -3,7 +3,7 @@ package antireplay
3 3
 import (
4 4
 	"sync"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib"
6
+	"github.com/dolonet/mtg-multi/mtglib"
7 7
 	"github.com/OneOfOne/xxhash"
8 8
 	boom "github.com/tylertreat/BoomFilters"
9 9
 )

+ 1
- 1
antireplay/stable_bloom_filter_test.go Näytä tiedosto

@@ -3,7 +3,7 @@ package antireplay_test
3 3
 import (
4 4
 	"testing"
5 5
 
6
-	"github.com/9seconds/mtg/v2/antireplay"
6
+	"github.com/dolonet/mtg-multi/antireplay"
7 7
 	"github.com/stretchr/testify/suite"
8 8
 )
9 9
 

+ 1
- 1
events/event_stream.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"math/rand/v2"
6 6
 	"runtime"
7 7
 
8
-	"github.com/9seconds/mtg/v2/mtglib"
8
+	"github.com/dolonet/mtg-multi/mtglib"
9 9
 	"github.com/OneOfOne/xxhash"
10 10
 )
11 11
 

+ 2
- 2
events/event_stream_test.go Näytä tiedosto

@@ -6,8 +6,8 @@ import (
6 6
 	"testing"
7 7
 	"time"
8 8
 
9
-	"github.com/9seconds/mtg/v2/events"
10
-	"github.com/9seconds/mtg/v2/mtglib"
9
+	"github.com/dolonet/mtg-multi/events"
10
+	"github.com/dolonet/mtg-multi/mtglib"
11 11
 	"github.com/stretchr/testify/mock"
12 12
 	"github.com/stretchr/testify/suite"
13 13
 )

+ 1
- 1
events/init.go Näytä tiedosto

@@ -16,7 +16,7 @@
16 16
 // EventStart for that session yet.
17 17
 package events
18 18
 
19
-import "github.com/9seconds/mtg/v2/mtglib"
19
+import "github.com/dolonet/mtg-multi/mtglib"
20 20
 
21 21
 // Observer is an instance that listens for the incoming events.
22 22
 //

+ 1
- 1
events/init_test.go Näytä tiedosto

@@ -1,7 +1,7 @@
1 1
 package events_test
2 2
 
3 3
 import (
4
-	"github.com/9seconds/mtg/v2/mtglib"
4
+	"github.com/dolonet/mtg-multi/mtglib"
5 5
 	"github.com/stretchr/testify/mock"
6 6
 )
7 7
 

+ 1
- 1
events/multi_observer.go Näytä tiedosto

@@ -3,7 +3,7 @@ package events
3 3
 import (
4 4
 	"sync"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib"
6
+	"github.com/dolonet/mtg-multi/mtglib"
7 7
 )
8 8
 
9 9
 type multiObserver struct {

+ 1
- 1
events/noop.go Näytä tiedosto

@@ -3,7 +3,7 @@ package events
3 3
 import (
4 4
 	"context"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib"
6
+	"github.com/dolonet/mtg-multi/mtglib"
7 7
 )
8 8
 
9 9
 type noop struct{}

+ 2
- 2
events/noop_test.go Näytä tiedosto

@@ -5,8 +5,8 @@ import (
5 5
 	"net"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/events"
9
-	"github.com/9seconds/mtg/v2/mtglib"
8
+	"github.com/dolonet/mtg-multi/events"
9
+	"github.com/dolonet/mtg-multi/mtglib"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )
12 12
 

+ 1
- 1
go.mod Näytä tiedosto

@@ -1,4 +1,4 @@
1
-module github.com/9seconds/mtg/v2
1
+module github.com/dolonet/mtg-multi
2 2
 
3 3
 go 1.26
4 4
 

+ 3
- 3
internal/cli/access.go Näytä tiedosto

@@ -10,9 +10,9 @@ import (
10 10
 	"strconv"
11 11
 	"sync"
12 12
 
13
-	"github.com/9seconds/mtg/v2/internal/config"
14
-	"github.com/9seconds/mtg/v2/internal/utils"
15
-	"github.com/9seconds/mtg/v2/mtglib"
13
+	"github.com/dolonet/mtg-multi/internal/config"
14
+	"github.com/dolonet/mtg-multi/internal/utils"
15
+	"github.com/dolonet/mtg-multi/mtglib"
16 16
 )
17 17
 
18 18
 type accessResponseSecret struct {

+ 5
- 5
internal/cli/doctor.go Näytä tiedosto

@@ -13,11 +13,11 @@ import (
13 13
 	"text/template"
14 14
 	"time"
15 15
 
16
-	"github.com/9seconds/mtg/v2/essentials"
17
-	"github.com/9seconds/mtg/v2/internal/config"
18
-	"github.com/9seconds/mtg/v2/internal/utils"
19
-	"github.com/9seconds/mtg/v2/mtglib"
20
-	"github.com/9seconds/mtg/v2/network/v2"
16
+	"github.com/dolonet/mtg-multi/essentials"
17
+	"github.com/dolonet/mtg-multi/internal/config"
18
+	"github.com/dolonet/mtg-multi/internal/utils"
19
+	"github.com/dolonet/mtg-multi/mtglib"
20
+	"github.com/dolonet/mtg-multi/network/v2"
21 21
 	"github.com/beevik/ntp"
22 22
 )
23 23
 

+ 1
- 1
internal/cli/generate_secret.go Näytä tiedosto

@@ -3,7 +3,7 @@ package cli
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib"
6
+	"github.com/dolonet/mtg-multi/mtglib"
7 7
 )
8 8
 
9 9
 type GenerateSecret struct {

+ 1
- 1
internal/cli/run.go Näytä tiedosto

@@ -3,7 +3,7 @@ package cli
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"github.com/9seconds/mtg/v2/internal/utils"
6
+	"github.com/dolonet/mtg-multi/internal/utils"
7 7
 )
8 8
 
9 9
 type Run struct {

+ 11
- 11
internal/cli/run_proxy.go Näytä tiedosto

@@ -7,17 +7,17 @@ import (
7 7
 	"os"
8 8
 	"time"
9 9
 
10
-	"github.com/9seconds/mtg/v2/antireplay"
11
-	"github.com/9seconds/mtg/v2/events"
12
-	"github.com/9seconds/mtg/v2/internal/config"
13
-	"github.com/9seconds/mtg/v2/internal/proxyprotocol"
14
-	"github.com/9seconds/mtg/v2/internal/utils"
15
-	"github.com/9seconds/mtg/v2/ipblocklist"
16
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
17
-	"github.com/9seconds/mtg/v2/logger"
18
-	"github.com/9seconds/mtg/v2/mtglib"
19
-	"github.com/9seconds/mtg/v2/network/v2"
20
-	"github.com/9seconds/mtg/v2/stats"
10
+	"github.com/dolonet/mtg-multi/antireplay"
11
+	"github.com/dolonet/mtg-multi/events"
12
+	"github.com/dolonet/mtg-multi/internal/config"
13
+	"github.com/dolonet/mtg-multi/internal/proxyprotocol"
14
+	"github.com/dolonet/mtg-multi/internal/utils"
15
+	"github.com/dolonet/mtg-multi/ipblocklist"
16
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
17
+	"github.com/dolonet/mtg-multi/logger"
18
+	"github.com/dolonet/mtg-multi/mtglib"
19
+	"github.com/dolonet/mtg-multi/network/v2"
20
+	"github.com/dolonet/mtg-multi/stats"
21 21
 	"github.com/pires/go-proxyproto"
22 22
 	"github.com/rs/zerolog"
23 23
 	"github.com/yl2chen/cidranger"

+ 1
- 1
internal/cli/simple_run.go Näytä tiedosto

@@ -6,7 +6,7 @@ import (
6 6
 	"strconv"
7 7
 	"time"
8 8
 
9
-	"github.com/9seconds/mtg/v2/internal/config"
9
+	"github.com/dolonet/mtg-multi/internal/config"
10 10
 )
11 11
 
12 12
 type SimpleRun struct {

+ 2
- 2
internal/cli/utils.go Näytä tiedosto

@@ -7,8 +7,8 @@ import (
7 7
 	"net/http"
8 8
 	"strings"
9 9
 
10
-	"github.com/9seconds/mtg/v2/essentials"
11
-	"github.com/9seconds/mtg/v2/mtglib"
10
+	"github.com/dolonet/mtg-multi/essentials"
11
+	"github.com/dolonet/mtg-multi/mtglib"
12 12
 )
13 13
 
14 14
 func getIP(ntw mtglib.Network, protocol string) net.IP {

+ 1
- 1
internal/config/config.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"net"
8 8
 	"net/url"
9 9
 
10
-	"github.com/9seconds/mtg/v2/mtglib"
10
+	"github.com/dolonet/mtg-multi/mtglib"
11 11
 )
12 12
 
13 13
 type Optional struct {

+ 1
- 1
internal/config/config_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"path/filepath"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
internal/config/type_blocklist_uri_test.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"strings"
8 8
 	"testing"
9 9
 
10
-	"github.com/9seconds/mtg/v2/internal/config"
10
+	"github.com/dolonet/mtg-multi/internal/config"
11 11
 	"github.com/stretchr/testify/assert"
12 12
 	"github.com/stretchr/testify/suite"
13 13
 )

+ 1
- 1
internal/config/type_bool_test.go Näytä tiedosto

@@ -6,7 +6,7 @@ import (
6 6
 	"strconv"
7 7
 	"testing"
8 8
 
9
-	"github.com/9seconds/mtg/v2/internal/config"
9
+	"github.com/dolonet/mtg-multi/internal/config"
10 10
 	"github.com/stretchr/testify/assert"
11 11
 	"github.com/stretchr/testify/suite"
12 12
 )

+ 1
- 1
internal/config/type_bytes_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_concurrency_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_dc_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"strconv"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_dns_uri_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_duration_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"testing"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_error_rate_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_hostport_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_http_path_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_https_url_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net/url"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_ip_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_metric_prefix_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_port_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"encoding/json"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 	"github.com/stretchr/testify/assert"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
internal/config/type_prefer_ip_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"strings"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_proxy_url_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net/url"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/config/type_statsd_tag_format_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"strings"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/config"
8
+	"github.com/dolonet/mtg-multi/internal/config"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
internal/testlib/mtglib_network_mock.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net"
6 6
 	"net/http"
7 7
 
8
-	"github.com/9seconds/mtg/v2/essentials"
8
+	"github.com/dolonet/mtg-multi/essentials"
9 9
 	"github.com/stretchr/testify/mock"
10 10
 )
11 11
 

+ 1
- 1
internal/utils/make_qr_code_url_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"strings"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/utils"
8
+	"github.com/dolonet/mtg-multi/internal/utils"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
internal/utils/net_listener.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"fmt"
5 5
 	"net"
6 6
 
7
-	"github.com/9seconds/mtg/v2/network"
7
+	"github.com/dolonet/mtg-multi/network"
8 8
 )
9 9
 
10 10
 type Listener struct {

+ 1
- 1
internal/utils/read_config.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"fmt"
5 5
 	"os"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/config"
7
+	"github.com/dolonet/mtg-multi/internal/config"
8 8
 )
9 9
 
10 10
 func ReadConfig(path string) (*config.Config, error) {

+ 1
- 1
internal/utils/read_config_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"path/filepath"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/utils"
7
+	"github.com/dolonet/mtg-multi/internal/utils"
8 8
 	"github.com/stretchr/testify/suite"
9 9
 )
10 10
 

+ 1
- 1
ipblocklist/files/http_test.go Näytä tiedosto

@@ -8,7 +8,7 @@ import (
8 8
 	"strings"
9 9
 	"testing"
10 10
 
11
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
11
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
12 12
 	"github.com/stretchr/testify/suite"
13 13
 )
14 14
 

+ 1
- 1
ipblocklist/files/local_test.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"strings"
8 8
 	"testing"
9 9
 
10
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
10
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
11 11
 	"github.com/stretchr/testify/assert"
12 12
 	"github.com/stretchr/testify/suite"
13 13
 )

+ 1
- 1
ipblocklist/files/mem_test.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"strings"
8 8
 	"testing"
9 9
 
10
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
10
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
11 11
 	"github.com/stretchr/testify/suite"
12 12
 )
13 13
 

+ 2
- 2
ipblocklist/firehol.go Näytä tiedosto

@@ -10,8 +10,8 @@ import (
10 10
 	"sync"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
14
-	"github.com/9seconds/mtg/v2/mtglib"
13
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
14
+	"github.com/dolonet/mtg-multi/mtglib"
15 15
 	"github.com/panjf2000/ants/v2"
16 16
 	"github.com/yl2chen/cidranger"
17 17
 )

+ 4
- 4
ipblocklist/firehol_test.go Näytä tiedosto

@@ -10,10 +10,10 @@ import (
10 10
 	"testing"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/internal/testlib"
14
-	"github.com/9seconds/mtg/v2/ipblocklist"
15
-	"github.com/9seconds/mtg/v2/logger"
16
-	"github.com/9seconds/mtg/v2/network"
13
+	"github.com/dolonet/mtg-multi/internal/testlib"
14
+	"github.com/dolonet/mtg-multi/ipblocklist"
15
+	"github.com/dolonet/mtg-multi/logger"
16
+	"github.com/dolonet/mtg-multi/network"
17 17
 	"github.com/jarcoal/httpmock"
18 18
 	"github.com/stretchr/testify/mock"
19 19
 	"github.com/stretchr/testify/suite"

+ 1
- 1
ipblocklist/noop.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"net"
5 5
 	"time"
6 6
 
7
-	"github.com/9seconds/mtg/v2/mtglib"
7
+	"github.com/dolonet/mtg-multi/mtglib"
8 8
 )
9 9
 
10 10
 type noop struct{}

+ 1
- 1
ipblocklist/noop_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"net"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/ipblocklist"
7
+	"github.com/dolonet/mtg-multi/ipblocklist"
8 8
 	"github.com/stretchr/testify/suite"
9 9
 )
10 10
 

+ 1
- 1
logger/noop.go Näytä tiedosto

@@ -1,6 +1,6 @@
1 1
 package logger
2 2
 
3
-import "github.com/9seconds/mtg/v2/mtglib"
3
+import "github.com/dolonet/mtg-multi/mtglib"
4 4
 
5 5
 type noopLogger struct{}
6 6
 

+ 2
- 2
logger/noop_test.go Näytä tiedosto

@@ -4,8 +4,8 @@ import (
4 4
 	"io"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/testlib"
8
-	"github.com/9seconds/mtg/v2/logger"
7
+	"github.com/dolonet/mtg-multi/internal/testlib"
8
+	"github.com/dolonet/mtg-multi/logger"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
logger/zerolog.go Näytä tiedosto

@@ -3,7 +3,7 @@ package logger
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib"
6
+	"github.com/dolonet/mtg-multi/mtglib"
7 7
 	"github.com/rs/zerolog"
8 8
 )
9 9
 

+ 2
- 2
logger/zerolog_test.go Näytä tiedosto

@@ -8,8 +8,8 @@ import (
8 8
 	"testing"
9 9
 	"time"
10 10
 
11
-	"github.com/9seconds/mtg/v2/logger"
12
-	"github.com/9seconds/mtg/v2/mtglib"
11
+	"github.com/dolonet/mtg-multi/logger"
12
+	"github.com/dolonet/mtg-multi/mtglib"
13 13
 	"github.com/rs/zerolog"
14 14
 	"github.com/stretchr/testify/assert"
15 15
 	"github.com/stretchr/testify/suite"

+ 1
- 1
main.go Näytä tiedosto

@@ -9,7 +9,7 @@
9 9
 package main
10 10
 
11 11
 import (
12
-	"github.com/9seconds/mtg/v2/internal/cli"
12
+	"github.com/dolonet/mtg-multi/internal/cli"
13 13
 	"github.com/alecthomas/kong"
14 14
 )
15 15
 

+ 1
- 1
mtglib/conns.go Näytä tiedosto

@@ -10,7 +10,7 @@ import (
10 10
 	"sync/atomic"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/essentials"
13
+	"github.com/dolonet/mtg-multi/essentials"
14 14
 	"github.com/pires/go-proxyproto"
15 15
 )
16 16
 

+ 1
- 1
mtglib/conns_internal_test.go Näytä tiedosto

@@ -10,7 +10,7 @@ import (
10 10
 	"testing"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/internal/testlib"
13
+	"github.com/dolonet/mtg-multi/internal/testlib"
14 14
 	"github.com/pires/go-proxyproto"
15 15
 	"github.com/stretchr/testify/mock"
16 16
 	"github.com/stretchr/testify/suite"

+ 1
- 1
mtglib/counting_conn.go Näytä tiedosto

@@ -1,7 +1,7 @@
1 1
 package mtglib
2 2
 
3 3
 import (
4
-	"github.com/9seconds/mtg/v2/essentials"
4
+	"github.com/dolonet/mtg-multi/essentials"
5 5
 )
6 6
 
7 7
 // countingConn wraps essentials.Conn and counts bytes through a cached

+ 1
- 1
mtglib/events_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"testing"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/mtglib"
8
+	"github.com/dolonet/mtg-multi/mtglib"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
mtglib/init.go Näytä tiedosto

@@ -23,7 +23,7 @@ import (
23 23
 	"net/http"
24 24
 	"time"
25 25
 
26
-	"github.com/9seconds/mtg/v2/essentials"
26
+	"github.com/dolonet/mtg-multi/essentials"
27 27
 )
28 28
 
29 29
 var (

+ 1
- 1
mtglib/internal/dc/addr.go Näytä tiedosto

@@ -3,7 +3,7 @@ package dc
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"github.com/9seconds/mtg/v2/mtglib/internal/obfuscation"
6
+	"github.com/dolonet/mtg-multi/mtglib/internal/obfuscation"
7 7
 )
8 8
 
9 9
 type Addr struct {

+ 1
- 1
mtglib/internal/dc/init.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/essentials"
8
+	"github.com/dolonet/mtg-multi/essentials"
9 9
 )
10 10
 
11 11
 type preferIP uint8

+ 2
- 2
mtglib/internal/doppel/conn.go Näytä tiedosto

@@ -6,8 +6,8 @@ import (
6 6
 	"sync"
7 7
 	"time"
8 8
 
9
-	"github.com/9seconds/mtg/v2/essentials"
10
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
9
+	"github.com/dolonet/mtg-multi/essentials"
10
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
11 11
 )
12 12
 
13 13
 var doppelBufPool = sync.Pool{

+ 2
- 2
mtglib/internal/doppel/conn_test.go Näytä tiedosto

@@ -10,8 +10,8 @@ import (
10 10
 	"testing"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/internal/testlib"
14
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
13
+	"github.com/dolonet/mtg-multi/internal/testlib"
14
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
15 15
 	"github.com/stretchr/testify/mock"
16 16
 	"github.com/stretchr/testify/suite"
17 17
 )

+ 1
- 1
mtglib/internal/doppel/ganger.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"sync/atomic"
8 8
 	"time"
9 9
 
10
-	"github.com/9seconds/mtg/v2/essentials"
10
+	"github.com/dolonet/mtg-multi/essentials"
11 11
 )
12 12
 
13 13
 const (

+ 1
- 1
mtglib/internal/doppel/ganger_test.go Näytä tiedosto

@@ -6,7 +6,7 @@ import (
6 6
 	"testing"
7 7
 	"time"
8 8
 
9
-	"github.com/9seconds/mtg/v2/internal/testlib"
9
+	"github.com/dolonet/mtg-multi/internal/testlib"
10 10
 	"github.com/stretchr/testify/mock"
11 11
 	"github.com/stretchr/testify/suite"
12 12
 )

+ 2
- 2
mtglib/internal/doppel/init.go Näytä tiedosto

@@ -6,8 +6,8 @@ import (
6 6
 	"net/http"
7 7
 	"time"
8 8
 
9
-	"github.com/9seconds/mtg/v2/essentials"
10
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
9
+	"github.com/dolonet/mtg-multi/essentials"
10
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
11 11
 )
12 12
 
13 13
 const (

+ 1
- 1
mtglib/internal/doppel/init_test.go Näytä tiedosto

@@ -8,7 +8,7 @@ import (
8 8
 	"net/http/httptest"
9 9
 	"time"
10 10
 
11
-	"github.com/9seconds/mtg/v2/essentials"
11
+	"github.com/dolonet/mtg-multi/essentials"
12 12
 	"github.com/stretchr/testify/mock"
13 13
 	"github.com/stretchr/testify/suite"
14 14
 )

+ 2
- 2
mtglib/internal/doppel/scout.go Näytä tiedosto

@@ -8,8 +8,8 @@ import (
8 8
 	"strings"
9 9
 	"time"
10 10
 
11
-	"github.com/9seconds/mtg/v2/essentials"
12
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
11
+	"github.com/dolonet/mtg-multi/essentials"
12
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
13 13
 )
14 14
 
15 15
 // ScoutResult holds measurements from a single scout HTTP request.

+ 2
- 2
mtglib/internal/doppel/scout_conn.go Näytä tiedosto

@@ -5,8 +5,8 @@ import (
5 5
 	"encoding/binary"
6 6
 	"io"
7 7
 
8
-	"github.com/9seconds/mtg/v2/essentials"
9
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
8
+	"github.com/dolonet/mtg-multi/essentials"
9
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
10 10
 )
11 11
 
12 12
 type ScoutConn struct {

+ 1
- 1
mtglib/internal/doppel/scout_conn_collected_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"testing"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
8
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
mtglib/internal/obfuscation/conn.go Näytä tiedosto

@@ -3,7 +3,7 @@ package obfuscation
3 3
 import (
4 4
 	"crypto/cipher"
5 5
 
6
-	"github.com/9seconds/mtg/v2/essentials"
6
+	"github.com/dolonet/mtg-multi/essentials"
7 7
 )
8 8
 
9 9
 type conn struct {

+ 2
- 2
mtglib/internal/obfuscation/conn_test.go Näytä tiedosto

@@ -6,8 +6,8 @@ import (
6 6
 	"encoding/hex"
7 7
 	"testing"
8 8
 
9
-	"github.com/9seconds/mtg/v2/essentials"
10
-	"github.com/9seconds/mtg/v2/internal/testlib"
9
+	"github.com/dolonet/mtg-multi/essentials"
10
+	"github.com/dolonet/mtg-multi/internal/testlib"
11 11
 	"github.com/stretchr/testify/assert"
12 12
 	"github.com/stretchr/testify/mock"
13 13
 	"github.com/stretchr/testify/suite"

+ 1
- 1
mtglib/internal/obfuscation/obfuscator.go Näytä tiedosto

@@ -10,7 +10,7 @@ import (
10 10
 	"hash"
11 11
 	"io"
12 12
 
13
-	"github.com/9seconds/mtg/v2/essentials"
13
+	"github.com/dolonet/mtg-multi/essentials"
14 14
 )
15 15
 
16 16
 type Obfuscator struct {

+ 3
- 3
mtglib/internal/obfuscation/obfuscator_fuzz_test.go Näytä tiedosto

@@ -4,9 +4,9 @@ import (
4 4
 	"bytes"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/testlib"
8
-	"github.com/9seconds/mtg/v2/mtglib"
9
-	"github.com/9seconds/mtg/v2/mtglib/internal/obfuscation"
7
+	"github.com/dolonet/mtg-multi/internal/testlib"
8
+	"github.com/dolonet/mtg-multi/mtglib"
9
+	"github.com/dolonet/mtg-multi/mtglib/internal/obfuscation"
10 10
 	"github.com/stretchr/testify/assert"
11 11
 	"github.com/stretchr/testify/mock"
12 12
 )

+ 3
- 3
mtglib/internal/obfuscation/obfuscator_test.go Näytä tiedosto

@@ -4,9 +4,9 @@ import (
4 4
 	"bytes"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/testlib"
8
-	"github.com/9seconds/mtg/v2/mtglib"
9
-	"github.com/9seconds/mtg/v2/mtglib/internal/obfuscation"
7
+	"github.com/dolonet/mtg-multi/internal/testlib"
8
+	"github.com/dolonet/mtg-multi/mtglib"
9
+	"github.com/dolonet/mtg-multi/mtglib/internal/obfuscation"
10 10
 	"github.com/stretchr/testify/assert"
11 11
 	"github.com/stretchr/testify/mock"
12 12
 	"github.com/stretchr/testify/require"

+ 1
- 1
mtglib/internal/relay/pool_settings_constrained.go Näytä tiedosto

@@ -2,7 +2,7 @@
2 2
 
3 3
 package relay
4 4
 
5
-import "github.com/9seconds/mtg/v2/mtglib/internal/tls"
5
+import "github.com/dolonet/mtg-multi/mtglib/internal/tls"
6 6
 
7 7
 const (
8 8
 	// MIPS is quite short in resources, and usually it means that it will run

+ 1
- 1
mtglib/internal/relay/pool_settings_other.go Näytä tiedosto

@@ -2,7 +2,7 @@
2 2
 
3 3
 package relay
4 4
 
5
-import "github.com/9seconds/mtg/v2/mtglib/internal/tls"
5
+import "github.com/dolonet/mtg-multi/mtglib/internal/tls"
6 6
 
7 7
 const (
8 8
 	bufPoolSize = tls.MaxRecordPayloadSize

+ 1
- 1
mtglib/internal/relay/relay.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"errors"
6 6
 	"io"
7 7
 
8
-	"github.com/9seconds/mtg/v2/essentials"
8
+	"github.com/dolonet/mtg-multi/essentials"
9 9
 )
10 10
 
11 11
 func Relay(ctx context.Context, log Logger, telegramConn, clientConn essentials.Conn) {

+ 2
- 2
mtglib/internal/relay/relay_bench_test.go Näytä tiedosto

@@ -13,8 +13,8 @@ import (
13 13
 	"sync/atomic"
14 14
 	"testing"
15 15
 
16
-	"github.com/9seconds/mtg/v2/essentials"
17
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
16
+	"github.com/dolonet/mtg-multi/essentials"
17
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
18 18
 )
19 19
 
20 20
 // mockConn wraps a net.Conn to satisfy essentials.Conn.

+ 2
- 2
mtglib/internal/relay/relay_test.go Näytä tiedosto

@@ -5,8 +5,8 @@ import (
5 5
 	"io"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/testlib"
9
-	"github.com/9seconds/mtg/v2/mtglib/internal/relay"
8
+	"github.com/dolonet/mtg-multi/internal/testlib"
9
+	"github.com/dolonet/mtg-multi/mtglib/internal/relay"
10 10
 	"github.com/stretchr/testify/mock"
11 11
 	"github.com/stretchr/testify/suite"
12 12
 )

+ 1
- 1
mtglib/internal/relay/stack_bench_test.go Näytä tiedosto

@@ -6,7 +6,7 @@ import (
6 6
 	"sync"
7 7
 	"testing"
8 8
 
9
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
9
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
10 10
 )
11 11
 
12 12
 // BenchmarkStackVsPool measures memory consumption when N goroutines hold

+ 1
- 1
mtglib/internal/relay/stress_bench_test.go Näytä tiedosto

@@ -10,7 +10,7 @@ import (
10 10
 	"testing"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
13
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
14 14
 )
15 15
 
16 16
 // ============================================================

+ 1
- 1
mtglib/internal/tls/conn.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"bufio"
5 5
 	"bytes"
6 6
 
7
-	"github.com/9seconds/mtg/v2/essentials"
7
+	"github.com/dolonet/mtg-multi/essentials"
8 8
 )
9 9
 
10 10
 const (

+ 1
- 1
mtglib/internal/tls/conn_test.go Näytä tiedosto

@@ -4,7 +4,7 @@ import (
4 4
 	"io"
5 5
 	"testing"
6 6
 
7
-	"github.com/9seconds/mtg/v2/internal/testlib"
7
+	"github.com/dolonet/mtg-multi/internal/testlib"
8 8
 	"github.com/stretchr/testify/mock"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )

+ 1
- 1
mtglib/internal/tls/fake/client_side.go Näytä tiedosto

@@ -12,7 +12,7 @@ import (
12 12
 	"slices"
13 13
 	"time"
14 14
 
15
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
15
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
16 16
 )
17 17
 
18 18
 const (

+ 3
- 3
mtglib/internal/tls/fake/client_side_fuzz_test.go Näytä tiedosto

@@ -5,9 +5,9 @@ import (
5 5
 	"testing"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/testlib"
9
-	"github.com/9seconds/mtg/v2/mtglib"
10
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls/fake"
8
+	"github.com/dolonet/mtg-multi/internal/testlib"
9
+	"github.com/dolonet/mtg-multi/mtglib"
10
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls/fake"
11 11
 	"github.com/stretchr/testify/assert"
12 12
 	"github.com/stretchr/testify/mock"
13 13
 	"github.com/stretchr/testify/require"

+ 2
- 2
mtglib/internal/tls/fake/client_side_snapshot_test.go Näytä tiedosto

@@ -9,8 +9,8 @@ import (
9 9
 	"strings"
10 10
 	"testing"
11 11
 
12
-	"github.com/9seconds/mtg/v2/mtglib"
13
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls/fake"
12
+	"github.com/dolonet/mtg-multi/mtglib"
13
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls/fake"
14 14
 	"github.com/stretchr/testify/assert"
15 15
 	"github.com/stretchr/testify/mock"
16 16
 	"github.com/stretchr/testify/require"

+ 4
- 4
mtglib/internal/tls/fake/client_side_test.go Näytä tiedosto

@@ -11,10 +11,10 @@ import (
11 11
 	"testing"
12 12
 	"time"
13 13
 
14
-	"github.com/9seconds/mtg/v2/internal/testlib"
15
-	"github.com/9seconds/mtg/v2/mtglib"
16
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
17
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls/fake"
14
+	"github.com/dolonet/mtg-multi/internal/testlib"
15
+	"github.com/dolonet/mtg-multi/mtglib"
16
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
17
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls/fake"
18 18
 	"github.com/stretchr/testify/mock"
19 19
 	"github.com/stretchr/testify/require"
20 20
 	"github.com/stretchr/testify/suite"

+ 1
- 1
mtglib/internal/tls/fake/server_side.go Näytä tiedosto

@@ -9,7 +9,7 @@ import (
9 9
 	"io"
10 10
 	rnd "math/rand/v2"
11 11
 
12
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
12
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
13 13
 	"golang.org/x/crypto/curve25519"
14 14
 )
15 15
 

+ 3
- 3
mtglib/internal/tls/fake/server_side_test.go Näytä tiedosto

@@ -7,9 +7,9 @@ import (
7 7
 	"crypto/sha256"
8 8
 	"testing"
9 9
 
10
-	"github.com/9seconds/mtg/v2/mtglib"
11
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
12
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls/fake"
10
+	"github.com/dolonet/mtg-multi/mtglib"
11
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
12
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls/fake"
13 13
 	"github.com/stretchr/testify/suite"
14 14
 )
15 15
 

+ 7
- 7
mtglib/proxy.go Näytä tiedosto

@@ -10,13 +10,13 @@ import (
10 10
 	"sync"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/essentials"
14
-	"github.com/9seconds/mtg/v2/mtglib/internal/dc"
15
-	"github.com/9seconds/mtg/v2/mtglib/internal/doppel"
16
-	"github.com/9seconds/mtg/v2/mtglib/internal/obfuscation"
17
-	"github.com/9seconds/mtg/v2/mtglib/internal/relay"
18
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls"
19
-	"github.com/9seconds/mtg/v2/mtglib/internal/tls/fake"
13
+	"github.com/dolonet/mtg-multi/essentials"
14
+	"github.com/dolonet/mtg-multi/mtglib/internal/dc"
15
+	"github.com/dolonet/mtg-multi/mtglib/internal/doppel"
16
+	"github.com/dolonet/mtg-multi/mtglib/internal/obfuscation"
17
+	"github.com/dolonet/mtg-multi/mtglib/internal/relay"
18
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls"
19
+	"github.com/dolonet/mtg-multi/mtglib/internal/tls/fake"
20 20
 	"github.com/panjf2000/ants/v2"
21 21
 )
22 22
 

+ 7
- 7
mtglib/proxy_test.go Näytä tiedosto

@@ -10,13 +10,13 @@ import (
10 10
 	"testing"
11 11
 	"time"
12 12
 
13
-	"github.com/9seconds/mtg/v2/antireplay"
14
-	"github.com/9seconds/mtg/v2/events"
15
-	"github.com/9seconds/mtg/v2/ipblocklist"
16
-	"github.com/9seconds/mtg/v2/ipblocklist/files"
17
-	"github.com/9seconds/mtg/v2/logger"
18
-	"github.com/9seconds/mtg/v2/mtglib"
19
-	"github.com/9seconds/mtg/v2/network"
13
+	"github.com/dolonet/mtg-multi/antireplay"
14
+	"github.com/dolonet/mtg-multi/events"
15
+	"github.com/dolonet/mtg-multi/ipblocklist"
16
+	"github.com/dolonet/mtg-multi/ipblocklist/files"
17
+	"github.com/dolonet/mtg-multi/logger"
18
+	"github.com/dolonet/mtg-multi/mtglib"
19
+	"github.com/dolonet/mtg-multi/network"
20 20
 	"github.com/stretchr/testify/suite"
21 21
 	"github.com/yl2chen/cidranger"
22 22
 )

+ 1
- 1
mtglib/secret_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"encoding/json"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/mtglib"
8
+	"github.com/dolonet/mtg-multi/mtglib"
9 9
 	"github.com/stretchr/testify/assert"
10 10
 	"github.com/stretchr/testify/suite"
11 11
 )

+ 1
- 1
mtglib/stream_context.go Näytä tiedosto

@@ -7,7 +7,7 @@ import (
7 7
 	"net"
8 8
 	"time"
9 9
 
10
-	"github.com/9seconds/mtg/v2/essentials"
10
+	"github.com/dolonet/mtg-multi/essentials"
11 11
 )
12 12
 
13 13
 type streamContext struct {

+ 1
- 1
mtglib/stream_context_internal_test.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"net"
6 6
 	"testing"
7 7
 
8
-	"github.com/9seconds/mtg/v2/internal/testlib"
8
+	"github.com/dolonet/mtg-multi/internal/testlib"
9 9
 	"github.com/stretchr/testify/suite"
10 10
 )
11 11
 

+ 1
- 1
network/circuit_breaker.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"sync/atomic"
6 6
 	"time"
7 7
 
8
-	"github.com/9seconds/mtg/v2/essentials"
8
+	"github.com/dolonet/mtg-multi/essentials"
9 9
 )
10 10
 
11 11
 const (

+ 1
- 1
network/circuit_breaker_internal_test.go Näytä tiedosto

@@ -9,7 +9,7 @@ import (
9 9
 	"testing"
10 10
 	"time"
11 11
 
12
-	"github.com/9seconds/mtg/v2/internal/testlib"
12
+	"github.com/dolonet/mtg-multi/internal/testlib"
13 13
 	"github.com/stretchr/testify/mock"
14 14
 	"github.com/stretchr/testify/suite"
15 15
 )

+ 0
- 0
network/default.go Näytä tiedosto


Some files were not shown because too many files changed in this diff

Loading…
Peruuta
Tallenna