change package name

This commit is contained in:
Jay 2020-01-14 10:02:25 +00:00
parent ae33d3da00
commit bbeb8ce7f4
6 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/config.yml
tcp-proxy

2
go.mod
View File

@ -1,4 +1,4 @@
module ssh-proxy
module tcp-proxy
go 1.13

View File

@ -4,9 +4,9 @@ import (
"errors"
"fmt"
"log"
"ssh-proxy/pkg/config"
"ssh-proxy/pkg/listener"
"ssh-proxy/pkg/option"
"tcp-proxy/pkg/config"
"tcp-proxy/pkg/listener"
"tcp-proxy/pkg/option"
)
func init() {

View File

@ -3,7 +3,7 @@ package common
import (
"fmt"
"net"
"ssh-proxy/pkg/logger"
"tcp-proxy/pkg/logger"
"strconv"
"time"
"unicode/utf8"

View File

@ -8,10 +8,10 @@ import (
"log"
"net"
"regexp"
"ssh-proxy/pkg/common"
"ssh-proxy/pkg/config"
"ssh-proxy/pkg/logger"
"ssh-proxy/pkg/proxy"
"tcp-proxy/pkg/common"
"tcp-proxy/pkg/config"
"tcp-proxy/pkg/logger"
"tcp-proxy/pkg/proxy"
"strconv"
"strings"

View File

@ -5,7 +5,7 @@ import (
"crypto/tls"
"io"
"net"
"ssh-proxy/pkg/logger"
"tcp-proxy/pkg/logger"
)
type Proxy struct {