Skip to content

Commit

Permalink
vendor: add package io
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed May 8, 2018
1 parent dd8f788 commit 1dd7317
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 155 deletions.
6 changes: 4 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

[[constraint]]
name = "github.com/fatedier/golib"
revision = "c4d2b1c9ff1798d2d9adfd1d03179579ee054c09"
branch = "master"

[[constraint]]
branch = "frp"
Expand Down
2 changes: 1 addition & 1 deletion client/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import (
"github.com/fatedier/frp/models/msg"
"github.com/fatedier/frp/models/plugin"
"github.com/fatedier/frp/models/proto/udp"
frpIo "github.com/fatedier/frp/utils/io"
"github.com/fatedier/frp/utils/log"
frpNet "github.com/fatedier/frp/utils/net"

"github.com/fatedier/golib/errors"
frpIo "github.com/fatedier/golib/io"
"github.com/fatedier/golib/pool"
)

Expand Down
2 changes: 1 addition & 1 deletion client/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (
"github.com/fatedier/frp/g"
"github.com/fatedier/frp/models/config"
"github.com/fatedier/frp/models/msg"
frpIo "github.com/fatedier/frp/utils/io"
"github.com/fatedier/frp/utils/log"
frpNet "github.com/fatedier/frp/utils/net"
"github.com/fatedier/frp/utils/util"

frpIo "github.com/fatedier/golib/io"
"github.com/fatedier/golib/pool"
)

Expand Down
3 changes: 2 additions & 1 deletion models/plugin/http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import (
"net/http"
"strings"

frpIo "github.com/fatedier/frp/utils/io"
frpNet "github.com/fatedier/frp/utils/net"

frpIo "github.com/fatedier/golib/io"
)

const PluginHttpProxy = "http_proxy"
Expand Down
3 changes: 2 additions & 1 deletion models/plugin/unix_domain_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ import (
"io"
"net"

frpIo "github.com/fatedier/frp/utils/io"
frpNet "github.com/fatedier/frp/utils/net"

frpIo "github.com/fatedier/golib/io"
)

const PluginUnixDomainSocket = "unix_domain_socket"
Expand Down
3 changes: 2 additions & 1 deletion server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ import (
"io"
"sync"

frpIo "github.com/fatedier/frp/utils/io"
frpNet "github.com/fatedier/frp/utils/net"
"github.com/fatedier/frp/utils/util"

frpIo "github.com/fatedier/golib/io"
)

type ControlManager struct {
Expand Down
2 changes: 1 addition & 1 deletion server/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ import (
"github.com/fatedier/frp/models/config"
"github.com/fatedier/frp/models/msg"
"github.com/fatedier/frp/models/proto/udp"
frpIo "github.com/fatedier/frp/utils/io"
"github.com/fatedier/frp/utils/log"
frpNet "github.com/fatedier/frp/utils/net"
"github.com/fatedier/frp/utils/util"
"github.com/fatedier/frp/utils/vhost"

"github.com/fatedier/golib/errors"
frpIo "github.com/fatedier/golib/io"
)

type Proxy interface {
Expand Down
145 changes: 0 additions & 145 deletions utils/io/io_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion utils/vhost/reverseproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"sync"
"time"

frpIo "github.com/fatedier/frp/utils/io"
frpIo "github.com/fatedier/golib/io"
)

// onExitFlushLoop is a callback set by tests to detect the state of the
Expand Down
File renamed without changes.

0 comments on commit 1dd7317

Please sign in to comment.