mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +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
|
package bench
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/antonito/gfile/pkg/session/bench"
|
"github.com/schollz/croc/pkg/session/bench"
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"gopkg.in/urfave/cli.v1"
|
"gopkg.in/urfave/cli.v1"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,9 +3,9 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/antonito/gfile/cmd/bench"
|
"github.com/schollz/croc/cmd/bench"
|
||||||
"github.com/antonito/gfile/cmd/receive"
|
"github.com/schollz/croc/cmd/receive"
|
||||||
"github.com/antonito/gfile/cmd/send"
|
"github.com/schollz/croc/cmd/send"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"gopkg.in/urfave/cli.v1"
|
"gopkg.in/urfave/cli.v1"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"github.com/antonito/gfile/pkg/session/receiver"
|
"github.com/schollz/croc/pkg/session/receiver"
|
||||||
"gopkg.in/urfave/cli.v1"
|
"gopkg.in/urfave/cli.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
"github.com/antonito/gfile/pkg/session/sender"
|
"github.com/schollz/croc/pkg/session/sender"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"gopkg.in/urfave/cli.v1"
|
"gopkg.in/urfave/cli.v1"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/antonito/gfile/pkg/stats"
|
"github.com/schollz/croc/pkg/stats"
|
||||||
"github.com/antonito/gfile/pkg/utils"
|
"github.com/schollz/croc/pkg/utils"
|
||||||
"github.com/pion/webrtc/v2"
|
"github.com/pion/webrtc/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
internalSess "github.com/antonito/gfile/internal/session"
|
internalSess "github.com/schollz/croc/internal/session"
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
"github.com/antonito/gfile/pkg/stats"
|
"github.com/schollz/croc/pkg/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/antonito/gfile/internal/buffer"
|
"github.com/schollz/croc/internal/buffer"
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
"github.com/antonito/gfile/pkg/utils"
|
"github.com/schollz/croc/pkg/utils"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package common
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/antonito/gfile/internal/session"
|
"github.com/schollz/croc/internal/session"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Configuration common to both Sender and Receiver session
|
// Configuration common to both Sender and Receiver session
|
||||||
|
|
|
@ -3,8 +3,8 @@ package receiver
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
internalSess "github.com/antonito/gfile/internal/session"
|
internalSess "github.com/schollz/croc/internal/session"
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
"github.com/pion/webrtc/v2"
|
"github.com/pion/webrtc/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"sync"
|
"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"
|
"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 (
|
const (
|
||||||
|
|
|
@ -5,11 +5,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/antonito/gfile/internal/buffer"
|
"github.com/schollz/croc/internal/buffer"
|
||||||
"github.com/antonito/gfile/pkg/session/common"
|
"github.com/schollz/croc/pkg/session/common"
|
||||||
"github.com/antonito/gfile/pkg/session/receiver"
|
"github.com/schollz/croc/pkg/session/receiver"
|
||||||
"github.com/antonito/gfile/pkg/session/sender"
|
"github.com/schollz/croc/pkg/session/sender"
|
||||||
"github.com/antonito/gfile/pkg/utils"
|
"github.com/schollz/croc/pkg/utils"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue