change package name
This commit is contained in:
		
							parent
							
								
									ae33d3da00
								
							
						
					
					
						commit
						bbeb8ce7f4
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1 +1,2 @@
 | 
			
		||||
/config.yml
 | 
			
		||||
tcp-proxy
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								main.go
									
									
									
									
									
								
							@ -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() {
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@ package common
 | 
			
		||||
import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"net"
 | 
			
		||||
	"ssh-proxy/pkg/logger"
 | 
			
		||||
	"tcp-proxy/pkg/logger"
 | 
			
		||||
	"strconv"
 | 
			
		||||
	"time"
 | 
			
		||||
	"unicode/utf8"
 | 
			
		||||
 | 
			
		||||
@ -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"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ import (
 | 
			
		||||
	"crypto/tls"
 | 
			
		||||
	"io"
 | 
			
		||||
	"net"
 | 
			
		||||
	"ssh-proxy/pkg/logger"
 | 
			
		||||
	"tcp-proxy/pkg/logger"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Proxy struct {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user