app

package
v0.0.0-...-5b087d4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 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 {
	Config   config.Config
	Database *database.MySQLDB
	Redis    *database.RedisDB
}

func New

func New(cfg config.Config) *App

func (*App) IsProd

func (a *App) IsProd() bool

func (*App) Run

func (a *App) Run(r *mux.Router)

Jump to

Keyboard shortcuts

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