Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

botkit-storage-consul

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.

Keywords

none

install

npm i botkit-storage-consul

Downloadsweekly downloads

1

version

0.1.2

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability