Links above Dial/Listen in interface
This commit is contained in:
parent
634c55e2d7
commit
ec6a30be37
@ -31,12 +31,12 @@ type Tunnel interface {
|
||||
Connect() error
|
||||
// Close closes the tunnel
|
||||
Close() error
|
||||
// All the links the tunnel is connected to
|
||||
Links() []Link
|
||||
// Connect to a channel
|
||||
Dial(channel string, opts ...DialOption) (Session, error)
|
||||
// Accept connections on a channel
|
||||
Listen(channel string) (Listener, error)
|
||||
// All the links the tunnel is connected to
|
||||
Links() []Link
|
||||
// Name of the tunnel implementation
|
||||
String() string
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user