summaryrefslogtreecommitdiff
path: root/client/fsm.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 11:18:14 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 11:18:42 +0100
commite9f8db8ee8fccf60e58deb1d72766f94a053bb16 (patch)
treeffa5a9be67717ecc8ff7bdc03d5f96028facb0e3 /client/fsm.go
parentb4ff890ec2b459148d893499a34a6d2954530369 (diff)
Document: Add comments for most functions and packages
Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix
Diffstat (limited to 'client/fsm.go')
-rw-r--r--client/fsm.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/fsm.go b/client/fsm.go
index 2ce60ba..159464a 100644
--- a/client/fsm.go
+++ b/client/fsm.go
@@ -119,7 +119,6 @@ func newFSM(
{To: StateLoadingServer, Description: "User clicks a server in the UI"},
{To: StateNoServer, Description: "Cancel or Error"},
},
- BackState: StateNoServer,
},
StateAskLocation: FSMState{
Transitions: []FSMTransition{
@@ -137,7 +136,6 @@ func newFSM(
},
{To: StateNoServer, Description: "Go back or Error"},
},
- BackState: StateNoServer,
},
StateChosenServer: FSMState{
Transitions: []FSMTransition{
@@ -151,7 +149,6 @@ func newFSM(
{To: StateNoServer, Description: "Go back or Error"},
{To: StateSearchServer, Description: "Cancel or Error"},
},
- BackState: StateNoServer,
},
StateAuthorized: FSMState{
Transitions: []FSMTransition{
@@ -182,7 +179,6 @@ func newFSM(
{To: StateNoServer, Description: "User wants to choose a new server"},
{To: StateOAuthStarted, Description: "Re-authorize with OAuth"},
},
- BackState: StateNoServer,
},
StateDisconnecting: FSMState{
Transitions: []FSMTransition{