Skip to content

Commit

Permalink
Rewrote import path
Browse files Browse the repository at this point in the history
  • Loading branch information
riobard committed Feb 6, 2017
1 parent 9d0951d commit 72b9502
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A fresh implementation of Shadowsocks in Go.

GoDoc at https://godoc.org/github.com/riobard/go-shadowsocks2/
GoDoc at https://godoc.org/github.com/shadowsocks/go-shadowsocks2/


## Features
Expand All @@ -16,7 +16,7 @@ GoDoc at https://godoc.org/github.com/riobard/go-shadowsocks2/
## Install

```sh
go install github.com/riobard/go-shadowsocks2
go install github.com/shadowsocks/go-shadowsocks2
```


Expand Down
8 changes: 4 additions & 4 deletions cipher.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"sort"
"strings"

sscipher "github.com/riobard/go-shadowsocks2/cipher"
"github.com/riobard/go-shadowsocks2/core"
"github.com/riobard/go-shadowsocks2/shadowaead"
"github.com/riobard/go-shadowsocks2/shadowstream"
sscipher "github.com/shadowsocks/go-shadowsocks2/cipher"
"github.com/shadowsocks/go-shadowsocks2/core"
"github.com/shadowsocks/go-shadowsocks2/shadowaead"
"github.com/shadowsocks/go-shadowsocks2/shadowstream"
)

var errCipherNotSupported = errors.New("ciper not supported")
Expand Down
2 changes: 1 addition & 1 deletion cipher/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/cipher"

"github.com/Yawning/chacha20"
"github.com/riobard/go-shadowsocks2/shadowstream"
"github.com/shadowsocks/go-shadowsocks2/shadowstream"
)

// Stream ciphers
Expand Down
4 changes: 2 additions & 2 deletions tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"io"
"net"

"github.com/riobard/go-shadowsocks2/core"
"github.com/riobard/go-shadowsocks2/socks"
"github.com/shadowsocks/go-shadowsocks2/core"
"github.com/shadowsocks/go-shadowsocks2/socks"
)

// Create a SOCKS server listening on addr and proxy to server.
Expand Down
4 changes: 2 additions & 2 deletions tcp_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"syscall"
"unsafe"

"github.com/riobard/go-shadowsocks2/core"
"github.com/riobard/go-shadowsocks2/socks"
"github.com/shadowsocks/go-shadowsocks2/core"
"github.com/shadowsocks/go-shadowsocks2/socks"
)

// Listen on addr for netfilter redirected TCP connections
Expand Down
2 changes: 1 addition & 1 deletion tcp_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package main

import "github.com/riobard/go-shadowsocks2/core"
import "github.com/shadowsocks/go-shadowsocks2/core"

func redirLocal(addr, server string, ciph core.StreamConnCipher) {
logf("TCP redirect not supported")
Expand Down
4 changes: 2 additions & 2 deletions udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"sync"

"github.com/riobard/go-shadowsocks2/core"
"github.com/riobard/go-shadowsocks2/socks"
"github.com/shadowsocks/go-shadowsocks2/core"
"github.com/shadowsocks/go-shadowsocks2/socks"
)

const udpBufSize = 64 * 1024
Expand Down

0 comments on commit 72b9502

Please sign in to comment.