diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-20 15:35:44 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-21 18:28:00 +0100 |
| commit | 6981666c6d8f639a1ff9c09a3bc08769e19928af (patch) | |
| tree | bdb94d76a7fb6a08ef200e9bbbbd5fff1d6b134c /client/client.go | |
| parent | 697dfed1f9f5d2916889a81a7a64bd1158caf2d2 (diff) | |
Failover: Initial implementation
Diffstat (limited to 'client/client.go')
| -rw-r--r-- | client/client.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/client.go b/client/client.go index a31334a..b37c506 100644 --- a/client/client.go +++ b/client/client.go @@ -6,6 +6,7 @@ import ( "github.com/eduvpn/eduvpn-common/internal/config" "github.com/eduvpn/eduvpn-common/internal/discovery" + "github.com/eduvpn/eduvpn-common/internal/failover" "github.com/eduvpn/eduvpn-common/internal/fsm" "github.com/eduvpn/eduvpn-common/internal/log" "github.com/eduvpn/eduvpn-common/internal/server" @@ -62,6 +63,9 @@ type Client struct { // Whether to enable debugging Debug bool `json:"-"` + + // The Failover monitor for the current VPN connection + Failover *failover.DroppedConMon } // Register initializes the clientwith the following parameters: |
