Merge pull request #61 from onetwotrip/dev

Fix imports path
This commit is contained in:
snail007
2018-04-26 17:37:35 +08:00
committed by GitHub
21 changed files with 35 additions and 35 deletions

2
Godeps/Godeps.json generated
View File

@ -1,5 +1,5 @@
{ {
"ImportPath": "snail007/proxy", "ImportPath": "github.com/snail007/goproxy",
"GoVersion": "go1.9", "GoVersion": "go1.9",
"GodepVersion": "v80", "GodepVersion": "v80",
"Packages": [ "Packages": [

View File

@ -4,12 +4,12 @@ import (
"bufio" "bufio"
"crypto/sha1" "crypto/sha1"
"fmt" "fmt"
"github.com/snail007/goproxy/services"
"github.com/snail007/goproxy/services/kcpcfg"
"github.com/snail007/goproxy/utils"
"log" "log"
"os" "os"
"os/exec" "os/exec"
"snail007/proxy/services"
"snail007/proxy/services/kcpcfg"
"snail007/proxy/utils"
"time" "time"
kcp "github.com/xtaci/kcp-go" kcp "github.com/xtaci/kcp-go"

View File

@ -1,10 +1,10 @@
package main package main
import ( import (
"github.com/snail007/goproxy/services"
"log" "log"
"os" "os"
"os/signal" "os/signal"
"snail007/proxy/services"
"syscall" "syscall"
) )

View File

@ -3,10 +3,10 @@ package proxy
import ( import (
"crypto/sha1" "crypto/sha1"
"fmt" "fmt"
"github.com/snail007/goproxy/services"
"github.com/snail007/goproxy/services/kcpcfg"
"log" "log"
"os" "os"
"snail007/proxy/services"
"snail007/proxy/services/kcpcfg"
"strings" "strings"
kcp "github.com/xtaci/kcp-go" kcp "github.com/xtaci/kcp-go"

View File

@ -2,7 +2,7 @@ package main
import ( import (
"C" "C"
sdk "snail007/proxy/sdk/android-ios" sdk "github.com/snail007/goproxy/sdk/android-ios"
) )
//export Start //export Start

View File

@ -1,7 +1,7 @@
package services package services
import ( import (
"snail007/proxy/services/kcpcfg" "github.com/snail007/goproxy/services/kcpcfg"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
) )

View File

@ -2,13 +2,13 @@ package services
import ( import (
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"github.com/snail007/goproxy/utils/conncrypt"
"io" "io"
"io/ioutil" "io/ioutil"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"snail007/proxy/utils/conncrypt"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -3,11 +3,11 @@ package services
import ( import (
"bufio" "bufio"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"math/rand" "math/rand"
"net" "net"
"snail007/proxy/utils"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"

View File

@ -3,10 +3,10 @@ package services
import ( import (
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"net" "net"
"snail007/proxy/utils"
"time" "time"
"github.com/golang/snappy" "github.com/golang/snappy"

View File

@ -3,12 +3,12 @@ package services
import ( import (
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"math/rand" "math/rand"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -3,14 +3,14 @@ package services
import ( import (
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"github.com/snail007/goproxy/utils/aes"
"github.com/snail007/goproxy/utils/socks"
"github.com/snail007/goproxy/utils/conncrypt"
"io/ioutil" "io/ioutil"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"snail007/proxy/utils/aes"
"snail007/proxy/utils/conncrypt"
"snail007/proxy/utils/socks"
"strings" "strings"
"time" "time"

View File

@ -5,13 +5,13 @@ import (
"encoding/base64" "encoding/base64"
"errors" "errors"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"github.com/snail007/goproxy/utils/socks"
"github.com/snail007/goproxy/utils/conncrypt"
"io/ioutil" "io/ioutil"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"snail007/proxy/utils/conncrypt"
"snail007/proxy/utils/socks"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -3,11 +3,11 @@ package services
import ( import (
"bufio" "bufio"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"time" "time"
"strconv" "strconv"

View File

@ -3,9 +3,9 @@ package services
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"log" "log"
"net" "net"
"snail007/proxy/utils"
"strconv" "strconv"
"time" "time"

View File

@ -3,10 +3,10 @@ package services
import ( import (
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"net" "net"
"snail007/proxy/utils"
"time" "time"
"github.com/xtaci/smux" "github.com/xtaci/smux"

View File

@ -3,11 +3,11 @@ package services
import ( import (
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"io" "io"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/utils"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -3,13 +3,13 @@ package services
import ( import (
"bufio" "bufio"
"fmt" "fmt"
"github.com/snail007/goproxy/services/kcpcfg"
"github.com/snail007/goproxy/utils"
"hash/crc32" "hash/crc32"
"io" "io"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/services/kcpcfg"
"snail007/proxy/utils"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -10,6 +10,7 @@ import (
"encoding/pem" "encoding/pem"
"errors" "errors"
"fmt" "fmt"
"github.com/snail007/goproxy/services/kcpcfg"
"io" "io"
"io/ioutil" "io/ioutil"
"log" "log"
@ -18,11 +19,10 @@ import (
"net/http" "net/http"
"os" "os"
"os/exec" "os/exec"
"snail007/proxy/services/kcpcfg"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
"snail007/proxy/utils/id" "github.com/snail007/goproxy/utils/id"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -2,10 +2,10 @@ package utils
import ( import (
"fmt" "fmt"
"github.com/snail007/goproxy/services/kcpcfg"
"log" "log"
"net" "net"
"runtime/debug" "runtime/debug"
"snail007/proxy/services/kcpcfg"
"strconv" "strconv"
kcp "github.com/xtaci/kcp-go" kcp "github.com/xtaci/kcp-go"

View File

@ -2,8 +2,8 @@ package socks
import ( import (
"fmt" "fmt"
"github.com/snail007/goproxy/utils"
"net" "net"
"snail007/proxy/utils"
"strings" "strings"
"time" "time"
) )

View File

@ -6,13 +6,13 @@ import (
"encoding/base64" "encoding/base64"
"errors" "errors"
"fmt" "fmt"
"github.com/snail007/goproxy/services/kcpcfg"
"github.com/snail007/goproxy/utils/sni"
"io" "io"
"io/ioutil" "io/ioutil"
"log" "log"
"net" "net"
"net/url" "net/url"
"snail007/proxy/services/kcpcfg"
"snail007/proxy/utils/sni"
"strings" "strings"
"sync" "sync"
"time" "time"