0.8.5 • Published 2 years ago

@nestcloud2/etcd v0.8.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NestCloud - Etcd

Description

Etcd module for nestcloud

Installation

$ npm i --save @nestcloud2/etcd etcd3

Quick Start

Import Module

import { Module } from '@nestjs/common';
import { EtcdModule } from '@nestcloud2/etcd';

@Module({
    imports: [EtcdModule.forRoot()],
})
export class AppModule {}

Usage

import { Injectable } from '@nestjs/common';
import { IEtcd } from '@nestcloud2/common';
import { InjectEtcd } from '@nestcloud2/etcd';

@Injectable()
export class TestService {
    constructor(@InjectEtcd() private readonly etcd: IEtcd) {}
}

Stay in touch

License

NestCloud is MIT licensed.

0.9.1

2 years ago

0.9.1-rc.0

2 years ago

0.8.5

2 years ago

0.8.4

2 years ago

0.8.3

2 years ago

0.8.0

2 years ago

0.7.21

2 years ago

0.7.20

2 years ago