Change internal package import to github/fatedier

This commit is contained in:
fatedier 2016-02-03 18:23:30 +08:00
parent 0b719326bc
commit 79195d7177
9 changed files with 16 additions and 16 deletions

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"frp/pkg/models" "github.com/fatedier/frp/pkg/models"
ini "github.com/vaughan0/go-ini" ini "github.com/vaughan0/go-ini"
) )

View File

@ -5,9 +5,9 @@ import (
"sync" "sync"
"encoding/json" "encoding/json"
"frp/pkg/models" "github.com/fatedier/frp/pkg/models"
"frp/pkg/utils/conn" "github.com/fatedier/frp/pkg/utils/conn"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
) )
func ControlProcess(cli *models.ProxyClient, wait *sync.WaitGroup) { func ControlProcess(cli *models.ProxyClient, wait *sync.WaitGroup) {

View File

@ -4,7 +4,7 @@ import (
"os" "os"
"sync" "sync"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"frp/pkg/models" "github.com/fatedier/frp/pkg/models"
ini "github.com/vaughan0/go-ini" ini "github.com/vaughan0/go-ini"
) )

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"encoding/json" "encoding/json"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
"frp/pkg/utils/conn" "github.com/fatedier/frp/pkg/utils/conn"
"frp/pkg/models" "github.com/fatedier/frp/pkg/models"
) )
func ProcessControlConn(l *conn.Listener) { func ProcessControlConn(l *conn.Listener) {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"os" "os"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
"frp/pkg/utils/conn" "github.com/fatedier/frp/pkg/utils/conn"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package models
import ( import (
"encoding/json" "encoding/json"
"frp/pkg/utils/conn" "github.com/fatedier/frp/pkg/utils/conn"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
) )
type ProxyClient struct { type ProxyClient struct {

View File

@ -4,8 +4,8 @@ import (
"sync" "sync"
"container/list" "container/list"
"frp/pkg/utils/conn" "github.com/fatedier/frp/pkg/utils/conn"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"sync" "sync"
"io" "io"
"frp/pkg/utils/log" "github.com/fatedier/frp/pkg/utils/log"
) )
type Listener struct { type Listener struct {