Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActorManager ¶ added in v0.0.21
ActorManager used to retrieve actor manager
func ConfigureAndServe ¶ added in v0.0.64
func ConfigureAndServe(initializer Intializer)
ConfigureAndServe used to setup applications and start server register adapters, collections for modelmanager register controllers, routings for controllermanager register views for viewmanager configure configuration
func ControllerManager ¶ added in v0.0.21
func ControllerManager() *controllers.Manager
ControllerManager used to retrieve controller manager
func ModelManager ¶ added in v0.0.22
ModelManager used to retrieve model manager
func ViewManager ¶ added in v0.0.64
ViewManager used to retrieve view manager
Types ¶
type Configuration ¶ added in v0.0.64
type Configuration struct {
// contains filtered or unexported fields
}
Configuration used to configure application wide settings
func (*Configuration) SetHttpHandler ¶ added in v0.0.64
func (configuration *Configuration) SetHttpHandler(httpHandler func())
func (*Configuration) SetPort ¶ added in v0.0.64
func (configuration *Configuration) SetPort(port string)
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is the core engine for fab.io
type Intializer ¶ added in v0.0.64
type Intializer interface { // Configure used to configure configurations like port and httphandler Configure(*Configuration) // RegisterAdapters used to register adapters RegisterAdapters(*models.Manager) // RegisterCollections used to register collections RegisterCollections(*models.Manager) // RegisterControllers used to register controllers RegisterControllers(*controllers.Manager) // RegisterViews used to register views RegisterViews(*views.Manager) //BeforeServe used for custom initializations after fab.io initializes and before serving like loading some seed application data BeforeServe() }
Click to show internal directories.
Click to hide internal directories.