vili

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: Apache-2.0 Imports: 25 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"`
	Envs         []string            `json:"envs"`
	ProdEnvs     []string            `json:"prodEnvs"`
	ApprovalEnvs []string            `json:"approvalEnvs"`
	EnvApps      map[string][]string `json:"envApps"`
	EnvJobs      map[string][]string `json:"envJobs"`
	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