Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @midwayjs/web

References

Agent

Agent:

Agent

Agent:

Application

Application:

Application

Application:

Application

Application:

Context

Context:

Framework

Framework:

IMidwayWebApplication

IMidwayWebApplication:

IMidwayWebBaseApplication

IMidwayWebBaseApplication:

IMidwayWebConfigurationOptions

IMidwayWebConfigurationOptions:

IMidwayWebContext

IMidwayWebContext:

IMidwayWebNext

IMidwayWebNext:

IWebMiddleware

IWebMiddleware:

MidwayWebFramework

MidwayWebFramework:

MidwayWebMiddleware

MidwayWebMiddleware:

createAgentWorkerLoader

createAgentWorkerLoader:

createAppWorkerLoader

createAppWorkerLoader:

createEggAgent

createEggAgent:

createEggApplication

createEggApplication:

startCluster

startCluster:

Type aliases

IMidwayWebApplication

IMidwayWebContext

IMidwayWebContext<ResponseBodyT>: IMidwayContext<EggContext<ResponseBodyT>>

Type parameters

  • ResponseBodyT

IMidwayWebNext

IMidwayWebNext: IMidwayKoaNext

MidwayWebMiddleware

MidwayWebMiddleware: Middleware<DefaultState, Context>

Variables

Const BaseEggAgent

BaseEggAgent: any = createEggAgent()

Const BaseEggApplication

BaseEggApplication: any = createEggApplication()

Const EGG_LOADER

EGG_LOADER: unique symbol = Symbol.for('egg#loader')

Const EGG_LOADER

EGG_LOADER: unique symbol = Symbol.for('egg#loader')

Const EGG_PATH

EGG_PATH: unique symbol = Symbol.for('egg#eggPath')

Const EGG_PATH

EGG_PATH: unique symbol = Symbol.for('egg#eggPath')

Const EggAgentWorkerLoader

EggAgentWorkerLoader: any = createAgentWorkerLoader()

Const EggAppWorkerLoader

EggAppWorkerLoader: any = createAppWorkerLoader()

Const LOGGERS

LOGGERS: unique symbol = Symbol('EggApplication#loggers')

Const ROUTER

ROUTER: unique symbol = Symbol('EggCore#router')

Let customFramework

customFramework: any = null

Const isWindows

isWindows: boolean = os.platform() === 'win32'

Functions

checkEggLoggerExistsAndBackup

  • checkEggLoggerExistsAndBackup(dir: any, fileName: any): void

checkMidwayLoggerSymbolExistsAndRemove

  • checkMidwayLoggerSymbolExistsAndRemove(appConfig: any): void

Const createAgentWorkerLoader

  • createAgentWorkerLoader(): any

Const createAppWorkerLoader

  • createAppWorkerLoader(): any

Const createEggAgent

  • createEggAgent(): any

Const createEggApplication

  • createEggApplication(): any

Const createLoggers

Const findLernaRoot

  • findLernaRoot(findRoot?: string): string

Const getCurrentDateString

  • getCurrentDateString(timestamp?: number): string

getFramework

  • getFramework(): any

isEmptyFile

  • isEmptyFile(p: string): boolean

Const levelTransform

  • levelTransform(level: any): "error" | "silly" | "debug" | "info" | "warn"

Const parseNormalDir

  • parseNormalDir(baseDir: string, isTypescript?: boolean): object
  • Parameters

    • baseDir: string
    • Default value isTypescript: boolean = true

    Returns object

    • appDir: string
    • baseDir: string

removeSymbol

  • removeSymbol(dir: any, fileName: any): void

Generated using TypeDoc