app

package
v0.0.0-...-ed93827 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup()

Setup sets up our application.

func SetupDatabase

func SetupDatabase() error

SetupDatabase sets up the query database with the settings from config.

func SetupLog

func SetupLog(logPath string) error

SetupLog sets up the default loggers - one to stdout, one to a file

func SetupRoutes

func SetupRoutes() *mux.Mux

SetupRoutes creates a new router and adds the routes for this app to it.

func SetupView

func SetupView() error

SetupView sets up the view package by loadind templates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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