@moonboot/plugin-redis
What
A Project support nacos for
moon-boot
How to use
npm i @moonboot/plugin-nacos
Then you can use nacos withEnableNacosDiscovery
NacosDiscovery
NacosConfig
as the following example.
// This Moudle will auto use when installed
// See project For More Information
// index.ts
import { start } from 'moon-boot'
@EnableNacosDiscovery
class Main {
constructor() {
start(__dirname)
}
}
new Main()