Skip to content

Commit

Permalink
moved to github
Browse files Browse the repository at this point in the history
  • Loading branch information
uoosef committed Oct 4, 2023
1 parent 8ad27bd commit 38f7979
Show file tree
Hide file tree
Showing 20 changed files with 57 additions and 57 deletions.
6 changes: 3 additions & 3 deletions cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
package main

import (
"bepass/config"
"bepass/logger"
"bepass/server"
"encoding/json"
"errors"
"fmt"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/server"
"os"
"os/signal"
"strings"
Expand Down
4 changes: 2 additions & 2 deletions cmd/gui/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"bepass/config"
"bepass/server"
"encoding/json"
"fmt"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/server"
"io"

"fyne.io/fyne/v2"
Expand Down
4 changes: 2 additions & 2 deletions cmd/mobile/tun2socks.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package tun2socks

import (
"bepass/config"
"encoding/json"
"errors"
"github.com/bepass-org/bepass/config"
"io"
"net"
"os"
Expand All @@ -19,7 +19,7 @@ import (
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/socks"

bepassCore "bepass/server"
bepassCore "github.com/bepass-org/bepass/server"

"github.com/songgao/water"
)
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config

import (
"bepass/resolve"
"github.com/bepass-org/bepass/resolve"
)

type Config struct {
Expand Down
4 changes: 2 additions & 2 deletions dialer/dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
package dialer

import (
"bepass/net/adapter/fragment"
"bepass/net/adapter/http"
"github.com/bepass-org/bepass/net/adapter/fragment"
"github.com/bepass-org/bepass/net/adapter/http"
"net"
)

Expand Down
4 changes: 2 additions & 2 deletions dialer/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package dialer

import (
"bepass/logger"
"bepass/protect"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/protect"
"net"
"runtime"
"strconv"
Expand Down
6 changes: 3 additions & 3 deletions doh/doh.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
package doh

import (
"bepass/config"
"bepass/dialer"
"bepass/resolve"
"encoding/base64"
"errors"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/dialer"
"github.com/bepass-org/bepass/resolve"
"io"
"net/http"
"time"
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 bepass
module github.com/bepass-org/bepass

go 1.19

Expand Down
4 changes: 2 additions & 2 deletions net/adapter/fragment/conn.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package fragment

import (
"bepass/config"
"bepass/sni"
"bytes"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/sni"
"math/rand"
"net"
"sync"
Expand Down
4 changes: 2 additions & 2 deletions net/adapter/http/conn.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package http

import (
"bepass/logger"
"bepass/sni"
"bytes"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/sni"
"net"
"sync"
"time"
Expand Down
18 changes: 9 additions & 9 deletions server/handle.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package server

import (
"bepass/dialer"
"bepass/doh"
"bepass/logger"
"bepass/resolve"
"bepass/sni"
"bepass/socks5"
"bepass/socks5/statute"
"bepass/transport"
"bepass/utils"
"bytes"
"context"
"fmt"
"github.com/bepass-org/bepass/dialer"
"github.com/bepass-org/bepass/doh"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/resolve"
"github.com/bepass-org/bepass/sni"
"github.com/bepass-org/bepass/socks5"
"github.com/bepass-org/bepass/socks5/statute"
"github.com/bepass-org/bepass/transport"
"github.com/bepass-org/bepass/utils"
"io"
"net"
"net/url"
Expand Down
16 changes: 8 additions & 8 deletions server/server.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package server

import (
"bepass/bufferpool"
"bepass/config"
"bepass/dialer"
"bepass/doh"
"bepass/resolve"
"bepass/socks5"
"bepass/transport"
"bepass/utils"
"context"
"fmt"
"github.com/bepass-org/bepass/bufferpool"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/dialer"
"github.com/bepass-org/bepass/doh"
"github.com/bepass-org/bepass/resolve"
"github.com/bepass-org/bepass/socks5"
"github.com/bepass-org/bepass/transport"
"github.com/bepass-org/bepass/utils"
"io"
"math/rand"
"os"
Expand Down
2 changes: 1 addition & 1 deletion socks5/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package socks5
import (
"io"

"bepass/socks5/statute"
"github.com/bepass-org/bepass/socks5/statute"
)

// AuthContext A Request encapsulates authentication state provided
Expand Down
4 changes: 2 additions & 2 deletions socks5/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
package socks5

import (
"bepass/logger"
"bepass/socks5/statute"
"context"
"fmt"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/socks5/statute"
"io"
"net"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion socks5/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package socks5

import (
"bepass/bufferpool"
"context"
"github.com/bepass-org/bepass/bufferpool"
"io"
"net"
)
Expand Down
2 changes: 1 addition & 1 deletion socks5/ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package socks5
import (
"context"

"bepass/socks5/statute"
"github.com/bepass-org/bepass/socks5/statute"
)

// RuleSet is an interface used to provide custom rules for allowing or prohibiting actions.
Expand Down
6 changes: 3 additions & 3 deletions socks5/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
package socks5

import (
"bepass/bufferpool"
"bepass/logger"
"bepass/socks5/statute"
"bufio"
"bytes"
"context"
"encoding/binary"
"errors"
"fmt"
"github.com/bepass-org/bepass/bufferpool"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/socks5/statute"
"github.com/elazarl/goproxy"
"golang.org/x/net/proxy"
"io"
Expand Down
14 changes: 7 additions & 7 deletions transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
package transport

import (
"bepass/bufferpool"
"bepass/dialer"
"bepass/logger"
"bepass/net/adapter/ws"
"bepass/socks5"
"bepass/socks5/statute"
"bepass/utils"
"fmt"
"github.com/bepass-org/bepass/bufferpool"
"github.com/bepass-org/bepass/dialer"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/net/adapter/ws"
"github.com/bepass-org/bepass/socks5"
"github.com/bepass-org/bepass/socks5/statute"
"github.com/bepass-org/bepass/utils"
"io"
"net"
"strings"
Expand Down
8 changes: 4 additions & 4 deletions transport/ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
package transport

import (
"bepass/config"
"bepass/dialer"
"bepass/logger"
"bepass/net/adapter/ws"
"context"
"encoding/binary"
"github.com/bepass-org/bepass/config"
"github.com/bepass-org/bepass/dialer"
"github.com/bepass-org/bepass/logger"
"github.com/bepass-org/bepass/net/adapter/ws"
"net"
"strings"
"time"
Expand Down
2 changes: 1 addition & 1 deletion utils/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
package utils

import (
"bepass/config"
"fmt"
"github.com/bepass-org/bepass/config"
"net"
"net/url"
"strings"
Expand Down

0 comments on commit 38f7979

Please sign in to comment.