mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-22 08:29:28 +08:00
added build tag for gui
This commit is contained in:
@@ -8,6 +8,13 @@ import (
|
||||
"github.com/gravitl/netmaker/models"
|
||||
)
|
||||
|
||||
var (
|
||||
// GuiActive - indicates if gui is active or not
|
||||
GuiActive = false
|
||||
// GuiRun - holds function for main to call
|
||||
GuiRun interface{}
|
||||
)
|
||||
|
||||
// ParseAccessToken - used to parse the base64 encoded access token
|
||||
func ParseAccessToken(token string) (*models.AccessToken, error) {
|
||||
tokenbytes, err := base64.StdEncoding.DecodeString(token)
|
||||
|
Reference in New Issue
Block a user