From 30da1d620e8ea225d7aa24a8821769db87b90607 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Thu, 24 Jun 2021 16:56:55 +0300 Subject: [PATCH] initial prep for client state persistence --- .gitignore | 1 + wndclient/wndclient.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6302468..3ccc136 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ bin/ *.snap windscribe-proxy +wndstate.json diff --git a/wndclient/wndclient.go b/wndclient/wndclient.go index e72bca2..f92d817 100644 --- a/wndclient/wndclient.go +++ b/wndclient/wndclient.go @@ -75,7 +75,7 @@ type WndClient struct { Status int UserID string SessionAuthHash string - Mux sync.Mutex + Mux sync.Mutex `json:"-"` ProxyUsername string ProxyPassword string }