Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
IPlugin
Interface IPlugin
一个pinus插件
Hierarchy
ILifeCycle
IPlugin
Index
Properties
after
Start
All
after
Startup
before
Shutdown
before
Startup
components
cron
Path
events
handler
Path
name
remoter
Path
Properties
Optional
after
Start
All
after
Start
All
:
function
Type declaration
(
app
:
Application
)
:
void
Parameters
app:
Application
Returns
void
Optional
after
Startup
after
Startup
:
function
Type declaration
(
app
:
Application
, cb
:
function
)
:
void
Parameters
app:
Application
cb:
function
(
)
:
void
Returns
void
Returns
void
Optional
before
Shutdown
before
Shutdown
:
function
Type declaration
(
app
:
Application
, shutDown
:
function
, cancelShutDownTimer
:
function
)
:
void
Parameters
app:
Application
shutDown:
function
(
)
:
void
Returns
void
cancelShutDownTimer:
function
(
)
:
void
Returns
void
Returns
void
Optional
before
Startup
before
Startup
:
function
Type declaration
(
app
:
Application
, cb
:
function
)
:
void
Parameters
app:
Application
cb:
function
(
)
:
void
Returns
void
Returns
void
Optional
components
components
:
ComponentContructor
[]
启动插件时需要自动加载的组件
Optional
cron
Path
cron
Path
:
string
插件暴漏的crons所在的路径
Optional
events
events
:
ApplicationEventContructor
[]
启动插件时需要侦听的应用程序事件
Optional
handler
Path
handler
Path
:
string
插件暴漏的handler所在的路径
name
name
:
string
插件的名称
Optional
remoter
Path
remoter
Path
:
string
插件暴漏的remoters所在的路径
Globals
IPlugin
after
Start
All
after
Startup
before
Shutdown
before
Startup
components
cron
Path
events
handler
Path
name
remoter
Path
一个pinus插件