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
Click to show internal directories.
Click to hide internal directories.