app

package
v0.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLIENT_MODE string

Functions

This section is empty.

Types

type App

type App struct {
	ServerURL  string
	CentralURL string
	AppVersion string
	AuthUrl    string
	Home       string
	Token      token.Token
	Account    account.Account
	Migration  migation.Migration
	Script     script.Script
}

App represents our application

func New

func New(level string) (*App, error)

New returns a new App

func (*App) GenerateRandomString

func (app *App) GenerateRandomString(n int) (string, error)

func (*App) GetVersion

func (app *App) GetVersion() (string, error)

func (*App) Server

func (app *App) Server() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL