Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App is the collection of all hard dependencies
func (*App) SetupRoutes ¶
func (app *App) SetupRoutes()
SetupRoutes initializes the API endpoint routes
type Container ¶
type Container struct { StoryHandler *handler.StoryHandler // contains filtered or unexported fields }
Container is the singleton collection of all internal dependencies
func NewContainer ¶
func NewContainer() *Container
NewContainer creates an empty singleton collection
func (*Container) GetStoryHandler ¶
func (c *Container) GetStoryHandler() *handler.StoryHandler
GetStoryHandler gives singleton instance of a StoryHandler
Click to show internal directories.
Click to hide internal directories.