foundation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.1.0"

VERSION of the application.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	Container() di.Container
	Run()

	SetBasePath(basePath string)
	BasePath() string
	BootstrapPath() string
	ConfigPath() string
	Path() string
	PublicPath() string

	Environment() string
	IsEnvironment(env string) bool
}

Application is the heart of the Gimli framework. It is responsible for all bootstrapping and general functionality.

func NewApplication

func NewApplication(basePath string) Application

NewApplication creates a new Application instance, set the relevant paths in the container and register base bindings and providers.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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