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 /config.yml
tcp-proxy

2
go.mod
View File

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

View File

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

View File

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

View File

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

View File

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