Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App []ModuleFactory
func (App) PopulateSchema ¶
func (App) ProduceActions ¶
func (m App) ProduceActions() map[string]appcore.ActionHandler
func (App) ProduceFunctions ¶
func (m App) ProduceFunctions() (functions []domain.DomainFunction)
type Module ¶
type Module struct { PopulateSchema func(schema *model.Schema) DomainFunctions []domain.DomainFunction Actions map[string]appcore.ActionHandler EventHandler model.EventHandler }
func (*Module) ProduceModule ¶
type ModuleFactory ¶
type ModuleFactory interface { // TODO: provide context for modules, maybe retrieve already set-up modules, or some factory to get options from ProduceModule() *Module }
Click to show internal directories.
Click to hide internal directories.