ui

package
v0.0.0-...-dec25df Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package UI contains all the code behind the Maestro API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(cfg Config, m *model.Model, listener net.Listener)

Start the HTTP service.

Types

type Config

type Config struct {
	GoogleClientID    string          // OAuth
	GoogleSecret      string          // OAuth
	GoogleRedirectURL string          // OAuth
	CookieSecret      string          // Just some random constant string
	AllowedDomain     string          // Emails from this domain will pass authentication
	Assets            http.FileSystem // Assets are served from here
	Babel             bool            // true if we are using Babel (vs Webpack)
	ForceSSL          bool            // Check X-Forwarded-Proto and insist on https://
}

Jump to

Keyboard shortcuts

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