OpenVeo Core server

API Docs for: 7.0.0
Show:

CorePlugin

Summary

Defines the Core Plugin.

In some way, the core act just like any other plugins, it has a 3 routers (public, private and web service) and a configuration file. Core plugin can be loaded just like any plugin.

Constructor

CorePlugin

Syntax

CorePlugin

()

Summary

Item Index

Methods

init

Syntax

init

(
  • callback
)
async

Summary

Prepares plugin by creating required database indexes.

This is automatically called by core application after plugin is loaded.

Parameters:

  • callback Function

    Function to call when it's done with:

    • Error An error if something went wrong, null otherwise

setCoreListeners

Syntax

setCoreListeners

() private

Summary

Sets listeners on core hooks.

Properties

api

Syntax

api

PluginApi final

Summary

Core APIs.

mountPath

Syntax

mountPath

String final

Summary

Core plugin mount path.

name

Syntax

name

String

Summary

Core plugin name.

path

Syntax

path

String final

Summary

Core plugin path.

router

Syntax

router

Router final

Summary

Core public router.

router

Syntax

router

Router final

Summary

Core private router.

router

Syntax

router

Router final

Summary

Core web service router.