Function: setupRedisModule
redis/src.setupRedisModule
setupRedisModule():
object
Returns
object
controllers
controllers?:
Type
<any
>[]Optional list of controllers defined in this module which have to be instantiated.
exports
exports: (
string
|symbol
|Function
|DynamicModule
|ClassProvider
<any
> |ValueProvider
<any
> |FactoryProvider
<any
> |ExistingProvider
<any
> |Promise
<DynamicModule
> |ForwardReference
<any
>)[]global
global?:
boolean
When "true", makes a module global-scoped.
Once imported into any module, a global-scoped module will be visible in all modules. Thereafter, modules that wish to inject a service exported from a global module do not need to import the provider module.
Default
false
imports
imports?: (
DynamicModule
|Type
<any
> |Promise
<DynamicModule
> |ForwardReference
<any
>)[]Optional list of imported modules that export the providers which are required in this module.
module
module:
Type
<any
>A module reference
providers
providers?:
Provider
[]Optional list of providers that will be instantiated by the Nest injector and that may be shared at least across this module.
Source
libs/redis/src/lib/redis.module.ts:5
Generated using typedoc-plugin-markdown and TypeDoc