mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
forking
This commit is contained in:
parent
e222dbd1e3
commit
5257b9db4a
11 changed files with 27 additions and 27 deletions
|
@ -1,8 +1,8 @@
|
|||
package bench
|
||||
|
||||
import (
|
||||
"github.com/antonito/gfile/pkg/session/bench"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/session/bench"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
)
|
||||
|
|
|
@ -3,9 +3,9 @@ package cmd
|
|||
import (
|
||||
"sort"
|
||||
|
||||
"github.com/antonito/gfile/cmd/bench"
|
||||
"github.com/antonito/gfile/cmd/receive"
|
||||
"github.com/antonito/gfile/cmd/send"
|
||||
"github.com/schollz/croc/cmd/bench"
|
||||
"github.com/schollz/croc/cmd/receive"
|
||||
"github.com/schollz/croc/cmd/send"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
)
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/antonito/gfile/pkg/session/receiver"
|
||||
"github.com/schollz/croc/pkg/session/receiver"
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/antonito/gfile/pkg/session/sender"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/session/sender"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/antonito/gfile/pkg/stats"
|
||||
"github.com/antonito/gfile/pkg/utils"
|
||||
"github.com/schollz/croc/pkg/stats"
|
||||
"github.com/schollz/croc/pkg/utils"
|
||||
"github.com/pion/webrtc/v2"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
internalSess "github.com/antonito/gfile/internal/session"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/antonito/gfile/pkg/stats"
|
||||
internalSess "github.com/schollz/croc/internal/session"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/antonito/gfile/internal/buffer"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/antonito/gfile/pkg/utils"
|
||||
"github.com/schollz/croc/internal/buffer"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/utils"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package common
|
|||
import (
|
||||
"io"
|
||||
|
||||
"github.com/antonito/gfile/internal/session"
|
||||
"github.com/schollz/croc/internal/session"
|
||||
)
|
||||
|
||||
// Configuration common to both Sender and Receiver session
|
||||
|
|
|
@ -3,8 +3,8 @@ package receiver
|
|||
import (
|
||||
"io"
|
||||
|
||||
internalSess "github.com/antonito/gfile/internal/session"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
internalSess "github.com/schollz/croc/internal/session"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/pion/webrtc/v2"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"io"
|
||||
"sync"
|
||||
|
||||
internalSess "github.com/antonito/gfile/internal/session"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/antonito/gfile/pkg/stats"
|
||||
"github.com/pion/webrtc/v2"
|
||||
internalSess "github.com/schollz/croc/internal/session"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,11 +5,11 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/antonito/gfile/internal/buffer"
|
||||
"github.com/antonito/gfile/pkg/session/common"
|
||||
"github.com/antonito/gfile/pkg/session/receiver"
|
||||
"github.com/antonito/gfile/pkg/session/sender"
|
||||
"github.com/antonito/gfile/pkg/utils"
|
||||
"github.com/schollz/croc/internal/buffer"
|
||||
"github.com/schollz/croc/pkg/session/common"
|
||||
"github.com/schollz/croc/pkg/session/receiver"
|
||||
"github.com/schollz/croc/pkg/session/sender"
|
||||
"github.com/schollz/croc/pkg/utils"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue