diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/state.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state.go b/src/state.go index 5d054bb..be85a45 100644 --- a/src/state.go +++ b/src/state.go @@ -13,7 +13,7 @@ type EduVPNState struct { OAuthSession *EduVPNOAuthSession } -func Register(state *EduVPNState, name string, server string) error { +func Register(state *EduVPNState, name string, server string, stateCallback func(string, string)) error { state.Name = name state.Server = server @@ -24,6 +24,7 @@ func Register(state *EduVPNState, name string, server string) error { } state.Endpoints = endpoints + stateCallback("START", "REGISTER") return nil } |
