UNPKG

node-universe

Version:

基于 Nodejs 环境的一款微服务框架,原理来自于宇宙中的恒星,行星,卫星等系统。

9 lines (8 loc) 315 B
import Context from '../context'; import Star from '../star'; export default function FallbackMiddleware(star: Star): { name: string; created(star: Star): void; localAction: (handler: any, action: any) => (ctx: Context) => any; remoteAction: (handler: any, action: any) => (ctx: Context) => any; };