This commit is contained in:
RPRX 2020-12-04 09:36:16 +08:00
parent ed8d6d743c
commit 16544c18ab
627 changed files with 3247 additions and 2635 deletions

View file

@ -3,7 +3,7 @@ package signal_test
import (
"testing"
. "github.com/xtls/xray-core/v1/common/signal"
. "github.com/xtls/xray-core/common/signal"
)
func TestNotifierSignal(t *testing.T) {

View file

@ -5,9 +5,9 @@ import (
"sync"
"time"
"github.com/xtls/xray-core/v1/common"
"github.com/xtls/xray-core/v1/common/signal/done"
"github.com/xtls/xray-core/v1/common/task"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/signal/done"
"github.com/xtls/xray-core/common/task"
)
type Subscriber struct {

View file

@ -3,7 +3,7 @@ package pubsub_test
import (
"testing"
. "github.com/xtls/xray-core/v1/common/signal/pubsub"
. "github.com/xtls/xray-core/common/signal/pubsub"
)
func TestPubsub(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"sync"
"time"
"github.com/xtls/xray-core/v1/common"
"github.com/xtls/xray-core/v1/common/task"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/task"
)
type ActivityUpdater interface {

View file

@ -6,7 +6,7 @@ import (
"testing"
"time"
. "github.com/xtls/xray-core/v1/common/signal"
. "github.com/xtls/xray-core/common/signal"
)
func TestActivityTimer(t *testing.T) {