Skip to content

Commit

Permalink
fix name error
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryDeng committed Feb 26, 2024
1 parent eab09a7 commit 8ce5516
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV GOPROXY https://goproxy.cn

RUN apk upgrade \
&& apk add git \
&& go get github.com/shadowsocks/go-shadowsocks2
&& go get github.com/BarryDeng/go-shadowsocks2

FROM alpine:3.12 AS dist

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

A fresh implementation of Shadowsocks in Go.

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

![Build and test](https://github.com/shadowsocks/go-shadowsocks2/workflows/Build%20and%20test/badge.svg)
![Build and test](https://github.com/BarryDeng/go-shadowsocks2/workflows/Build%20and%20test/badge.svg)


## Features
Expand All @@ -20,12 +20,12 @@ GoDoc at https://godoc.org/github.com/shadowsocks/go-shadowsocks2/

## Install

Pre-built binaries for common platforms are available at https://github.com/shadowsocks/go-shadowsocks2/releases
Pre-built binaries for common platforms are available at https://github.com/BarryDeng/go-shadowsocks2/releases

Install from source

```sh
go install -u github.com/shadowsocks/go-shadowsocks2@latest
go install -u github.com/BarryDeng/go-shadowsocks2@latest
```


Expand Down
2 changes: 1 addition & 1 deletion core/cipher.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sort"
"strings"

"github.com/shadowsocks/go-shadowsocks2/shadowaead"
"github.com/BarryDeng/go-shadowsocks2/shadowaead"
)

type Cipher interface {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/shadowsocks/go-shadowsocks2
module github.com/BarryDeng/go-shadowsocks2

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion internal/bloomring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/shadowsocks/go-shadowsocks2/internal"
"github.com/BarryDeng/go-shadowsocks2/internal"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"syscall"
"time"

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

var config struct {
Expand Down
2 changes: 1 addition & 1 deletion shadowaead/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"sync"

"github.com/shadowsocks/go-shadowsocks2/internal"
"github.com/BarryDeng/go-shadowsocks2/internal"
)

// ErrShortPacket means that the packet is too short for a valid encrypted packet.
Expand Down
2 changes: 1 addition & 1 deletion shadowaead/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"
"net"

"github.com/shadowsocks/go-shadowsocks2/internal"
"github.com/BarryDeng/go-shadowsocks2/internal"
)

// payloadSizeMask is the maximum size of payload in bytes.
Expand Down
2 changes: 1 addition & 1 deletion tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
"time"

"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/BarryDeng/go-shadowsocks2/socks"
)

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

"github.com/shadowsocks/go-shadowsocks2/pfutil"
"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/BarryDeng/go-shadowsocks2/pfutil"
"github.com/BarryDeng/go-shadowsocks2/socks"
)

func redirLocal(addr, server string, shadow func(net.Conn) net.Conn) {
Expand Down
4 changes: 2 additions & 2 deletions tcp_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"net"

"github.com/shadowsocks/go-shadowsocks2/nfutil"
"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/BarryDeng/go-shadowsocks2/nfutil"
"github.com/BarryDeng/go-shadowsocks2/socks"
)

func getOrigDst(c net.Conn, ipv6 bool) (socks.Addr, error) {
Expand Down
2 changes: 1 addition & 1 deletion udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/BarryDeng/go-shadowsocks2/socks"
)

type mode int
Expand Down

0 comments on commit 8ce5516

Please sign in to comment.