1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Update a tunnel top level comment

This commit is contained in:
Asim Aslam 2019-07-10 19:33:34 +01:00
parent 217f540601
commit 7c29be288b

View File

@ -7,8 +7,9 @@ import (
)
// Tunnel creates a network tunnel on top of a link.
// It establishes multiple streams using the Micro-Tunnel header
// created as a hash of the address.
// It establishes multiple streams using the Micro-Tunnel-Id header
// and Micro-Tunnel-Session header. The tunnel id is a hash of
// the address being requested.
type Tunnel interface {
// Connect connects the tunnel
Connect() error