Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineService ¶
type EngineService struct {
Front controllers.FrontController `inject:"inline"`
Feed controllers.FeedController `inject:"inline"`
Config *confer.Config `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 Phabulous ¶
type Phabulous struct {
Config *confer.Config `inject:""`
Engine *EngineService `inject:""`
Serve *ServeService `inject:""`
Slacker *bot.SlackService `inject:""`
Logger *logrus.Logger `inject:""`
}
Phabulous is the root node of the DI graph
type ServeService ¶
type ServeService struct {
Engine *EngineService `inject:""`
Config *confer.Config `inject:""`
Logger *logrus.Logger `inject:""`
Slacker *bot.SlackService `inject:""`
App *Phabulous `inject:""`
}
ServeService provides the serve command
Click to show internal directories.
Click to hide internal directories.