Skip to content

xiaoji-duan/duan-eventdispacher

Repository files navigation

事件分发器

vert.x 3.6.0 purple

分发WEBHOOK事件, 定时事件

定义与注册事件

TriggerTask {
  saName:string = ""; //应用名称
  saPrefix:string = ""; //应用前缀   主键
  taskId:string = "";   //任务ID     主键
  taskType:string = ""; //任务类型
  taskName:string = ""; //任务名称
  taskRunAt:string = "{}"; //任务运行条件 json string
  taskRunWith:string = "{}"; //任务运行变量 json string
}
RunAt {
  eventId: "...",
  filters: [
    {name: "...", value: "..."}
  ]
}
RunWith {
  url: "..."
  payload: {
    name: "value",
    "..."
  }
};

支持多级事件逐级分发

About

短应用™ 事件分发

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages