Fix loopback cruft

This commit is contained in:
Asim Aslam
2019-08-29 12:42:27 +01:00
parent 6ab86c9e57
commit 00ab58f61b
4 changed files with 50 additions and 15 deletions

13
tunnel/link.go Normal file
View 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(),
}
}