summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/state.go b/state.go
index da78d19..b8fa046 100644
--- a/state.go
+++ b/state.go
@@ -29,9 +29,6 @@ type VPNState struct {
// Whether to enable debugging
Debug bool `json:"-"`
-
- // Serialized connection identifier
- Identifier string `json:"identifier"`
}
func (state *VPNState) GetSavedServers() string {
@@ -320,14 +317,6 @@ func (state *VPNState) SetProfileID(profileID string) error {
return nil
}
-func (state *VPNState) GetIdentifier() string {
- return state.Identifier
-}
-
-func (state *VPNState) SetIdentifier(identifier string) {
- state.Identifier = identifier
-}
-
func (state *VPNState) SetSearchServer() error {
if !state.FSM.HasTransition(fsm.SEARCH_SERVER) {
return &types.WrappedErrorMessage{Message: "failed to set search server", Err: fsm.WrongStateTransitionError{Got: state.FSM.Current, Want: fsm.CONNECTED}.CustomError()}