micro/tunnel/link.go

14 lines
198 B
Go
Raw Normal View History

2019-08-29 14:42:27 +03:00
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(),
}
}