From cb0de43dba2d02be914d06f6dbb2634c43525222 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 11 Sep 2019 12:12:11 -0700 Subject: [PATCH] add link status --- tunnel/tunnel.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index 17e4bd7e..7ff7d890 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -45,6 +45,8 @@ type Tunnel interface { type Link interface { // The id of the link Id() string + // Status of the link e.g connected/closed + Status() string // honours transport socket transport.Socket }