mirror of https://github.com/goproxyio/goproxy
parent
5b72060f37
commit
970dde4fb9
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/goproxyio/goproxy
|
||||
module github.com/goproxyio/goproxy/v2
|
||||
|
||||
go 1.12
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -33,7 +33,7 @@ import (
|
|||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/goproxyio/goproxy/proxy"
|
||||
"github.com/goproxyio/goproxy/v2/proxy"
|
||||
|
||||
"golang.org/x/mod/module"
|
||||
)
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/goproxyio/goproxy/renameio"
|
||||
"github.com/goproxyio/goproxy/v2/renameio"
|
||||
)
|
||||
|
||||
const ListExpire = 5 * time.Minute
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"path/filepath"
|
||||
"strconv"
|
||||
|
||||
"github.com/goproxyio/goproxy/robustio"
|
||||
"github.com/goproxyio/goproxy/v2/robustio"
|
||||
)
|
||||
|
||||
const patternSuffix = ".tmp"
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/goproxyio/goproxy/robustio"
|
||||
"github.com/goproxyio/goproxy/v2/robustio"
|
||||
)
|
||||
|
||||
func TestConcurrentReadsAndWrites(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue