app

package
v0.0.0-...-22be18f Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2017 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ConfigDevelopment holds the development config from fragmenta.json
	ConfigDevelopment map[string]string

	// ConfigProduction holds development config from fragmenta.json
	ConfigProduction map[string]string

	// ConfigTest holds the app test config from fragmenta.json
	ConfigTest map[string]string
)

Functions

func Bootstrap

func Bootstrap() error

Bootstrap generates missing config files, sql migrations, and runs the first migrations For this we need to know what to call the app, but we default to fragmenta-app for now we could use our current folder name?

func RequiresBootStrap

func RequiresBootStrap() bool

RequiresBootStrap returns true if the app requires bootstrapping

func Setup

func Setup(server *server.Server)

Setup sets up our application

Types

This section is empty.

Jump to

Keyboard shortcuts

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