application

package
v0.0.0-...-4e4842a Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: MIT Imports: 7 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 {
	Router   *httprouter.Router
	Server   server.Server
	Config   config.Config
	View     view.View
	Database database.Database
	Session  *sessions.Session
}
var AppContainerInstance App

func NewApp

func NewApp() App

func (*App) SetConfig

func (a *App) SetConfig()

func (*App) SetDatabase

func (a *App) SetDatabase()

SetDatabase creates a database object and sets the connections

func (*App) SetServer

func (a *App) SetServer()

func (*App) SetSession

func (a *App) SetSession()

SetSession sets the session config for later usage

func (*App) SetViews

func (a *App) SetViews()

SetViews sets the view class

Jump to

Keyboard shortcuts

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