@moonboot/plugin-nacos
v0.0.4
Published
> A Project support [nacos](https://nacos.io/zh-cn/docs/what-is-nacos.html) for `moon-boot`
Downloads
1
Readme
@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()