Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Application

Hierarchy

  • Application
    • Application

Properties

use

use: any

Methods

addConfigObject

  • addConfigObject(obj: any): any

createAnonymousContext

  • createAnonymousContext(...args: any[]): FaaSContext

createLogger

  • createLogger(name: string, options: LoggerOptions): ILogger

generateMiddleware

getAppDir

  • getAppDir(): string

getApplicationContext

  • getApplicationContext(): IMidwayContainer

getBaseDir

  • getBaseDir(): string

getConfig

  • getConfig(key?: string): any

getCoreLogger

  • getCoreLogger(): ILogger

getEnv

  • getEnv(): string

getFrameworkType

getFunctionName

  • getFunctionName(): string

getFunctionServiceName

  • getFunctionServiceName(): string

getInitializeContext

  • getInitializeContext(): any

getLogger

  • getLogger(name?: string): ILogger

getProcessType

getProjectName

  • getProjectName(): string

getServerlessInstance

  • getServerlessInstance<T>(cls: any): Promise<T>

setContextLoggerClass

  • setContextLoggerClass(BaseContextLoggerClass: any): void

useMiddleware

  • useMiddleware(mw: string[]): any

Generated using TypeDoc