botkit-storage-consul
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

README

A storage for botkit as consul backend.

import * as botkit from "botkit";
import { ConsulStorage } from "botkit-storage-consul";

botkit.slackbot({
  storage: ConsulStorage({consul_url: process.env.CONSUL_URL}),
  ...
  • consul_url is endpoint of consul. The default is http://localhost:8500.
  • kv_root is the root path of consul KV which this storage uses.

Dependencies (1)

Dev Dependencies (3)

Package Sidebar

Install

npm i botkit-storage-consul

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

87.4 kB

Total Files

10

Last publish

Collaborators

  • tmtk75