diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/backend.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go index 885ece2..812258d 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -122,6 +122,12 @@ func (s status) fromString(st string) status { } } +// FIXME ----------------------------------------------------------------------- +// at some moment I thought this was a good idea, but probably is overkill - +// and not used right now. Discuss with meskio in code review, and very likely +// remove it - there are probably better ways of dealing with tracking of user +// actions more towards the ui layer. + // An action is originated in the UI. These represent requests coming from the // frontend via the C code. VPN code needs to watch them and fullfill their // requests as soon as possible. @@ -144,6 +150,8 @@ func (a actions) MarshalJSON() ([]byte, error) { return b.Bytes(), nil } +// ----------------------------------------------------------------------------- + // The connectionCtx keeps the global state that is passed around to C-land. It // also serves as the primary way of passing requests from the frontend to the // Go-core, by letting the UI write some of these variables and processing |