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:
parent
217f540601
commit
7c29be288b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user