app

package
v0.0.0-...-a90609c Latest Latest
Warning

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

Go to latest
Published: May 11, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cerulean

type Cerulean struct {
	Config      *confer.Config               `inject:""`
	Connections *ohmygorm.ConnectionsService `inject:""`
	Engine      *EngineService               `inject:""`
	Serve       *ServeService                `inject:""`
	Migrator    *database.MigratorService    `inject:""`
}

Cerulean is the root node of the DI graph

type EngineService

type EngineService struct {
	Front    controllers.FrontController    `inject:""`
	Articles controllers.ArticlesController `inject:""`
	Tumblr   controllers.TumblrController   `inject:""`
}

EngineService provides the API engine

func (*EngineService) New

func (e *EngineService) New() *gin.Engine

New creates a new instance of an API engine

type ServeService

type ServeService struct {
	Engine *EngineService `inject:""`
	Config *confer.Config `inject:""`
}

ServeService provides the serve command

func (*ServeService) Run

func (s *ServeService) Run(c *cli.Context)

Run starts up the HTTP server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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