mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
Update a tunnel top level comment
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user