Constructors
constructor
- new FastifyController(opts): FastifyController
Parameters
- opts: {
fastify: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault>;
}fastify: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault>
Methods
start
- start(opts?): Promise<void>
Returns Promise<void>
started
- started(): Promise<void>
Returns Promise<void>
stop
- stop(): Promise<void>
Returns Promise<void>