Fix loopback cruft
This commit is contained in:
		
							
								
								
									
										13
									
								
								tunnel/link.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tunnel/link.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
package tunnel
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/google/uuid"
 | 
			
		||||
	"github.com/micro/go-micro/transport"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func newLink(s transport.Socket) *link {
 | 
			
		||||
	return &link{
 | 
			
		||||
		Socket: s,
 | 
			
		||||
		id:     uuid.New().String(),
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user