vili

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the wrapper for the tyr app

func New

func New() *App

New returns a new server instance

func (*App) Start

func (a *App) Start()

Start starts the app

func (*App) StartTest

func (a *App) StartTest() string

StartTest starts the test app

func (*App) StopTest

func (a *App) StopTest()

StopTest stops the test server

type AppConfig

type AppConfig struct {
	URI        string                     `json:"uri"`
	User       *session.User              `json:"user"`
	DefaultEnv string                     `json:"defaultEnv"`
	Envs       []environments.Environment `json:"envs"`
	Firebase   FirebaseConfig             `json:"firebase"`
}

AppConfig is the frontend configuration

type FirebaseConfig

type FirebaseConfig struct {
	URL   string `json:"url"`
	Token string `json:"token"`
}

FirebaseConfig is the Firebase configuration

Jump to

Keyboard shortcuts

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