Module

Introduced in 4.0.0

Stability: 2 - Stable

const Module = require('kado/lib/Module')

This Module library is a super class for creating modules for use with Kado systems.

Class: Module

Module.constructor()

Module.db(app)

This function is called by Application on startup to register models or structures.

Module.search(app, keywords, start, limit)

This function is called by Application when a search is queried.

Module.main(app)

This function is called by Application before starting the main interface.

Module.cli(app)

This function is called by Application when setting up cli modules.